<?php

declare(strict_types=1);

namespace ApiModel\Domain\Repository;

interface DepartmentRepositoryInterface
{
    public function findById(string $id): ?array;

    /** @return list<array<string, mixed>> */
    public function listByCompany(string $companyId): array;

    public function insert(string $id, string $companyId, string $name): void;

    public function update(string $id, string $name, bool $isActive): void;

    public function delete(string $id): void;
}
