import { Context, CustomerAddressDTO, CustomerDTO, CustomerGroupCustomerDTO, CustomerGroupDTO, CustomerTypes, DAL, ICustomerModuleService, InferEntityType, InternalModuleDeclaration, ModuleJoinerConfig, ModulesSdkTypes } from "@medusajs/framework/types"; import { Customer, CustomerAddress, CustomerGroup, CustomerGroupCustomer } from "../models"; type InjectedDependencies = { baseRepository: DAL.RepositoryService; customerService: ModulesSdkTypes.IMedusaInternalService; customerAddressService: ModulesSdkTypes.IMedusaInternalService; customerGroupService: ModulesSdkTypes.IMedusaInternalService; customerGroupCustomerService: ModulesSdkTypes.IMedusaInternalService; }; declare const CustomerModuleService_base: import("@medusajs/framework/utils").MedusaServiceReturnType<{ CustomerAddress: { dto: CustomerAddressDTO; }; Customer: { dto: CustomerDTO; }; CustomerGroup: { dto: CustomerGroupDTO; }; CustomerGroupCustomer: { dto: CustomerGroupCustomerDTO; }; }>; export default class CustomerModuleService extends CustomerModuleService_base implements ICustomerModuleService { protected readonly moduleDeclaration: InternalModuleDeclaration; protected baseRepository_: DAL.RepositoryService; protected customerService_: ModulesSdkTypes.IMedusaInternalService>; protected customerAddressService_: ModulesSdkTypes.IMedusaInternalService>; protected customerGroupService_: ModulesSdkTypes.IMedusaInternalService>; protected customerGroupCustomerService_: ModulesSdkTypes.IMedusaInternalService>; constructor({ baseRepository, customerService, customerAddressService, customerGroupService, customerGroupCustomerService, }: InjectedDependencies, moduleDeclaration: InternalModuleDeclaration); __joinerConfig(): ModuleJoinerConfig; createCustomers(data: CustomerTypes.CreateCustomerDTO, sharedContext?: Context): Promise; createCustomers(data: CustomerTypes.CreateCustomerDTO[], sharedContext?: Context): Promise; createCustomers_(dataOrArray: CustomerTypes.CreateCustomerDTO | CustomerTypes.CreateCustomerDTO[], sharedContext?: Context): Promise[]>; updateCustomers(customerId: string, data: CustomerTypes.CustomerUpdatableFields, sharedContext?: Context): Promise; updateCustomers(customerIds: string[], data: CustomerTypes.CustomerUpdatableFields, sharedContext?: Context): Promise; updateCustomers(selector: CustomerTypes.FilterableCustomerProps, data: CustomerTypes.CustomerUpdatableFields, sharedContext?: Context): Promise; protected updateCustomers_(idsOrSelector: string | string[] | CustomerTypes.FilterableCustomerProps, data: CustomerTypes.CustomerUpdatableFields, sharedContext?: Context): Promise[] | InferEntityType>; createCustomerGroups(dataOrArrayOfData: CustomerTypes.CreateCustomerGroupDTO, sharedContext?: Context): Promise; createCustomerGroups(dataOrArrayOfData: CustomerTypes.CreateCustomerGroupDTO[], sharedContext?: Context): Promise; protected createCustomerGroups_(dataOrArrayOfData: CustomerTypes.CreateCustomerGroupDTO | CustomerTypes.CreateCustomerGroupDTO[], sharedContext?: Context): Promise[] | InferEntityType>; updateCustomerGroups(groupId: string, data: CustomerTypes.CustomerGroupUpdatableFields, sharedContext?: Context): Promise; updateCustomerGroups(groupIds: string[], data: CustomerTypes.CustomerGroupUpdatableFields, sharedContext?: Context): Promise; updateCustomerGroups(selector: CustomerTypes.FilterableCustomerGroupProps, data: CustomerTypes.CustomerGroupUpdatableFields, sharedContext?: Context): Promise; protected updateCustomerGroups_(groupIdOrSelector: string | string[] | CustomerTypes.FilterableCustomerGroupProps, data: CustomerTypes.CustomerGroupUpdatableFields, sharedContext?: Context): Promise[] | InferEntityType>; addCustomerToGroup(groupCustomerPair: CustomerTypes.GroupCustomerPair, sharedContext?: Context): Promise<{ id: string; }>; addCustomerToGroup(groupCustomerPairs: CustomerTypes.GroupCustomerPair[], sharedContext?: Context): Promise<{ id: string; }[]>; protected addCustomerToGroup_(data: CustomerTypes.GroupCustomerPair | CustomerTypes.GroupCustomerPair[], sharedContext?: Context): Promise<{ id: string; } | { id: string; }[]>; createCustomerAddresses(addresses: CustomerTypes.CreateCustomerAddressDTO[], sharedContext?: Context): Promise; createCustomerAddresses(address: CustomerTypes.CreateCustomerAddressDTO, sharedContext?: Context): Promise; private createCustomerAddresses_; updateCustomerAddresses(addressId: string, data: CustomerTypes.UpdateCustomerAddressDTO, sharedContext?: Context): Promise; updateCustomerAddresses(addressIds: string[], data: CustomerTypes.UpdateCustomerAddressDTO, sharedContext?: Context): Promise; updateCustomerAddresses(selector: CustomerTypes.FilterableCustomerAddressProps, data: CustomerTypes.UpdateCustomerAddressDTO, sharedContext?: Context): Promise; protected updateCustomerAddresses_(addressIdOrSelector: string | string[] | CustomerTypes.FilterableCustomerAddressProps, data: CustomerTypes.UpdateCustomerAddressDTO, sharedContext?: Context): Promise[] | InferEntityType>; removeCustomerFromGroup(groupCustomerPair: CustomerTypes.GroupCustomerPair, sharedContext?: Context): Promise; removeCustomerFromGroup(groupCustomerPairs: CustomerTypes.GroupCustomerPair[], sharedContext?: Context): Promise; protected removeCustomerFromGroup_(data: CustomerTypes.GroupCustomerPair | CustomerTypes.GroupCustomerPair[], sharedContext?: Context): Promise; } export {}; //# sourceMappingURL=customer-module.d.ts.map