export declare const MAX_REQUEST_BODY_SIZE_ENV = "HASNA_SESSIONS_MAX_REQUEST_BODY_SIZE"; export declare const SELF_HOSTED_DEFAULT_MAX_REQUEST_BODY_SIZE: number; export declare const SERVER_IDLE_TIMEOUT_ENV = "HASNA_SESSIONS_IDLE_TIMEOUT_SECONDS"; export declare const DEFAULT_SERVER_IDLE_TIMEOUT_SECONDS = 60; export declare function resolveMaxRequestBodySize(env?: NodeJS.ProcessEnv): number | undefined; export declare function resolveServerIdleTimeoutSeconds(env?: NodeJS.ProcessEnv): number; export declare function createSessionsServer(options?: { port?: number; hostname?: string; enableMcp?: boolean; maxRequestBodySize?: number; idleTimeout?: number; }): Bun.Server; /** * Bootstrap async prerequisites. In cloud mode the api_keys table is created by * the owner-run migration (0002), NOT here — the request-path app role has DML * rights only. We prime the verifier so a signing-key misconfiguration surfaces * at boot rather than per-request. */ export declare function bootstrapServer(): Promise; /** Health probe used by the CLI/`/ready` path. */ export declare function probeCloudHealth(): Promise; //# sourceMappingURL=app.d.ts.map