/** * Store the serverless handler (called by decorator after handler is ready) */ export declare function setServerlessHandler(handler: unknown): void; /** * Store the promise that resolves to the handler (called by decorator immediately) */ export declare function setServerlessHandlerPromise(promise: Promise): void; /** * Store an error that occurred during handler initialization */ export declare function setServerlessHandlerError(error: Error): void; /** * Get the serverless handler synchronously. * Returns null if handler is not ready yet. * @throws Error if handler initialization failed */ export declare function getServerlessHandler(): unknown; /** * Get the serverless handler asynchronously. * Waits for the handler to be ready if needed. * @throws Error if handler initialization failed or not initialized */ export declare function getServerlessHandlerAsync(): Promise; //# sourceMappingURL=serverless-handler.d.ts.map