import type { Except } from 'type-fest'; import type { ScayleAdminApiFetcher } from '../../http/admin-api-fetcher.js'; import { type GetEntityCollectionOptions } from '../../entity-client/simple-entity-client/methods/get-entity-collection.js'; import type { Iso31661Alpha3CountryCode } from '../iso/iso31661-alpha3-country-code-schema.js'; import { type OrderStatus } from './schema/order-status-schema.js'; import { type AdditionalOrderKey, type Order, type OrderCollection } from './schema/order-schema.js'; type OrderEntityClientDependencies = { adminApiFetcher: ScayleAdminApiFetcher; }; type GetCollectionOptions = 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 billingAddressCountryCode?: Iso31661Alpha3CountryCode; readonly shippingAddressCountryCode?: Iso31661Alpha3CountryCode; readonly customerId?: number[]; readonly minCustomerId?: number; readonly maxCustomerId?: number; readonly customerReferenceKey?: string[]; readonly referenceKey?: string[]; readonly status?: string; readonly detailedStatus?: string; }; withKeys?: AdditionalKeys; }; export type OrderEntityClient = { get: (shopKey: string, countryCode: string, orderIdentifier: number | string, withKeys?: AdditionalKeys) => Promise>; getCollection: (shopKey: string, countryCode: string, requestOptions?: GetCollectionOptions) => Promise>; getStatus: (shopKey: string, countryCode: string, orderIdentifier: number | string) => Promise; updateOrderReferenceKey: (shopKey: string, countryCode: string, orderId: number, newReferenceKey: string) => Promise; }; export declare function createOrderEntityClient(dependencies: OrderEntityClientDependencies): OrderEntityClient; export {}; //# sourceMappingURL=order-entity-client.d.ts.map