import type { CreateServerOptions, ServerApp, ServerWebSocketSession } from './types'; /** * Returns `true` when the request is a WebSocket upgrade handshake. */ export declare const isWebSocketRequest: (request: Request) => boolean; /** * Type guard for values returned by `handleWebSocket()`. */ export declare const isServerWebSocketSession: (value: unknown) => value is ServerWebSocketSession; /** * Create a lightweight, Express-inspired request pipeline for SSR-aware * backends without introducing runtime dependencies. * * @example * ```ts * import { createServer } from '@bquery/bquery/server'; * * const app = createServer(); * app.get('/health', (ctx) => ctx.json({ ok: true })); * * const response = await app.handle('/health'); * ``` */ export declare const createServer: (options?: CreateServerOptions) => ServerApp; //# sourceMappingURL=create-server.d.ts.map