<?php

namespace MintyPHP\Repository\CustomField;

interface TenantCustomFieldOptionRepositoryInterface
{
    /**
     * @param int[] $definitionIds
     * @return array<int, array<string, mixed>>
     */
    public function listByDefinitionIds(array $definitionIds, bool $onlyActive = true): array;

    /** @param array<int, array<string, mixed>> $options */
    public function replaceForDefinition(int $definitionId, array $options): bool;

    public function deleteByDefinitionId(int $definitionId): bool;
}
