import type { ScayleAdminApiFetcher } from '../../http/admin-api-fetcher.js'; import { type MerchantContactEntityClient } from '../merchant-contact/merchant-contact-entity-client.js'; import { type MerchantReturnAddressEntityClient } from '../merchant-return-address/merchant-return-address-entity-client.js'; import { type Merchant, type MerchantCollection, type MerchantMutationPayload, type MinimalMerchantData, type AdditionalMerchantKey } from './schema/merchant-schema.js'; type GetCollectionOptions = { readonly cursor?: string | undefined; readonly limit?: number; readonly filters?: { minId?: number; maxId?: number; }; readonly sortDirection?: 'asc' | 'desc'; readonly sortKey?: 'id'; readonly withKeys?: AdditionalKeys | undefined; }; export type MerchantEntityClient = { merchantContacts: MerchantContactEntityClient; merchantReturnAddress: MerchantReturnAddressEntityClient; create: (payload: MerchantMutationPayload) => Promise; update: (merchantKeyOrId: number | string, payload: MerchantMutationPayload) => Promise; get: (merchantKeyOrId: number | string, withKeys?: AdditionalKeys) => Promise>; getCollection: (requestOptions?: GetCollectionOptions) => Promise>; getAll: (withKeys?: AdditionalKeys) => Promise[]>; }; export type MerchantEntityClientDependencies = { readonly adminApiFetcher: ScayleAdminApiFetcher; }; export declare function createMerchantEntityClient(dependencies: MerchantEntityClientDependencies): MerchantEntityClient; export {}; //# sourceMappingURL=merchant-entity-client.d.ts.map