import type { ScayleAdminApiFetcher } from '../../http/admin-api-fetcher.js'; import type { Iso31661Alpha2CountryCode } from '../iso/iso31661-alpha2-country-code-schema.js'; import type { Iso31661Alpha3CountryCode } from '../iso/iso31661-alpha3-country-code-schema.js'; import { type VoucherCriteria, type VoucherCriteriaMutationPayload } from './schema/voucher-criteria-schema.js'; export type VoucherCriteriaEntityClient = { create: (shopKey: string, countryCode: Iso31661Alpha2CountryCode | Iso31661Alpha3CountryCode, voucherId: number, voucherCriteria: VoucherCriteriaMutationPayload) => Promise; get: (shopKey: string, countryCode: Iso31661Alpha2CountryCode | Iso31661Alpha3CountryCode, voucherId: number, criteriaId: number) => Promise; update: (shopKey: string, countryCode: Iso31661Alpha2CountryCode | Iso31661Alpha3CountryCode, voucherId: number, criteriaId: number, updatePayload: VoucherCriteriaMutationPayload) => Promise; delete: (shopKey: string, countryCode: Iso31661Alpha2CountryCode | Iso31661Alpha3CountryCode, voucherId: number, criteriaId: number) => Promise; getCollection: (shopKey: string, countryCode: Iso31661Alpha2CountryCode | Iso31661Alpha3CountryCode, voucherId: number) => Promise; }; export type VoucherCriteriaEntityClientDependencies = { readonly adminApiFetcher: ScayleAdminApiFetcher; }; export declare function createVoucherCriteriaEntityClient(dependencies: VoucherCriteriaEntityClientDependencies): VoucherCriteriaEntityClient; //# sourceMappingURL=voucher-criteria-entity-client.d.ts.map