import { AnonymousSignInResult, Customer, CustomerSignupDraft, TokenizedSignInResult, PaginatedCustomerResult } from '@cxcloud/ct-types/customers'; import { UpdateAction, QueryOptions } from '@cxcloud/ct-types/common'; export declare function findCustomerById(customerId: string): Promise; export declare namespace Customers { function login(email: string, password: string, token?: string): Promise; function register(customerData: CustomerSignupDraft, token?: string): Promise; function loginAnonymously(): Promise; function fetchAll(token: string, options?: QueryOptions): Promise; function findById(customerId: string, token: string): Promise; function update(customerId: string, customerVersion: number, actions: UpdateAction[], token: string): Promise; function remove(customerId: string, customerVersion: number, token: string): Promise; }