import type { Except } from 'type-fest'; import type { ScayleAdminApiFetcher } from '../../http/admin-api-fetcher.js'; import type { Collection } from '../../entity-definitions/collection.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 GetEntityCollectionOptions } from '../../entity-client/simple-entity-client/methods/get-entity-collection.js'; import { type CustomerMembership, type CustomerMembershipMutationPayload } from './schema/customer-membership-schema.js'; export type CustomerMembershipEntityClientDependencies = { readonly adminApiFetcher: ScayleAdminApiFetcher; }; type CustomerMembershipQueryParameters = Except & { readonly filters?: { readonly id?: number[]; readonly minId?: number; readonly maxId?: number; readonly minCreatedAt?: string; readonly maxCreatedAt?: string; readonly minUpdatedAt?: string; readonly maxUpdatedAt?: string; readonly isActive?: boolean; }; }; export type CustomerMembershipEntityClient = { create: (shopKey: string, countryCode: Iso31661Alpha2CountryCode | Iso31661Alpha3CountryCode, customerIdentifier: number | string, membership: CustomerMembershipMutationPayload) => Promise; update: (shopKey: string, countryCode: Iso31661Alpha2CountryCode | Iso31661Alpha3CountryCode, membershipId: number, membershipUpdate: CustomerMembershipMutationPayload) => Promise; delete: (shopKey: string, countryCode: Iso31661Alpha2CountryCode | Iso31661Alpha3CountryCode, membershipId: number) => Promise; getCollection: (shopKey: string, countryCode: Iso31661Alpha2CountryCode | Iso31661Alpha3CountryCode, customerIdentifier: number | string, requestOptions?: CustomerMembershipQueryParameters) => Promise>; }; export declare function createCustomerMembershipEntityClient(dependencies: CustomerMembershipEntityClientDependencies): CustomerMembershipEntityClient; export {}; //# sourceMappingURL=customer-membership-entity-client.d.ts.map