import { VocselApi } from "./types/vocsel-api.interface"; import { IApiConnection, IApiEndpoint, IApiKeys } from "./types/api"; import { ApiContext } from "./types/api/api-context.enum"; import { UserProfileService } from "./services/user-profile/user-profile.service"; import { AccessRights } from "./types/api/access-rights.enum"; import { DatabaseService } from "./services/database/database.service"; import { FileStorageService } from "./services/file-storage/file-storage.service"; import { EventsService } from "./services/events.service"; import { StatisticsService } from "./services/statistics.service"; import { StoreService } from "./services/store.service"; import { AIService } from "./services/ai/ai.service"; import { CustomersService } from "./services/customers/customers.service"; import { LogsService } from "./services/logs/logs.service"; interface IAuthPayload { email?: string; password?: string; publicKey?: string; customAuth?: Record; } declare class Api { readonly db: DatabaseService; readonly storage: FileStorageService; readonly event: EventsService; readonly statistics: StatisticsService; readonly store: StoreService; readonly ai: AIService; readonly customers: CustomersService; readonly logs: LogsService; readonly userProfile: UserProfileService; readonly context: ApiContext; readonly keys: IApiKeys; endpoint: IApiEndpoint; accessRights: AccessRights; connection: IApiConnection; accessToken: string; targetCustomerId: string; constructor(params: { keys: any; accessToken: any; endpoint: any; userProfile: any; context: any; }); setTargetCustomer(customerId: string): Api; setTargetCustomerOnce(customerId: string): Api; static auth(params: { projectId: string; auth?: IAuthPayload | null; createAccountIfNotExist?: boolean | null; hookAddress?: string | null; }): Promise; disconnect(): void; private checkIfPossibleSetTargetCustomer; } export default Api;