import { LocalVariablesService } from '@pikku/core/services'; import type { CoreSingletonServices } from '@pikku/core/types'; import type { APIGatewayEvent, APIGatewayProxyEventV2 } from 'aws-lambda'; export interface LambdaServiceFactories { createConfig: (variables: LocalVariablesService, ...args: unknown[]) => Promise; createSingletonServices: (config: unknown, existingServices?: Partial>) => Promise; createPlatformServices?: () => Record | Promise>; } export declare function createLambdaHandler(factories: LambdaServiceFactories, handlerTypes: string[]): Record; export declare function createLambdaWorkerHandler(factories: LambdaServiceFactories): { handler(event: APIGatewayProxyEventV2): Promise; }; export declare function createLambdaWebSocketHandler(factories: LambdaServiceFactories): { connect(event: APIGatewayEvent): Promise; disconnect(event: APIGatewayEvent): Promise; default(event: APIGatewayEvent): Promise; };