/** * Express Adapter * * Express.js middleware for UI Bridge server. */ import type { Router } from 'express'; import type { UIBridgeServerConfig, UIBridgeServerHandlers } from './types'; /** * Express-specific configuration */ export interface ExpressAdapterConfig extends UIBridgeServerConfig { /** Use JSON body parser (if not already configured) */ useBodyParser?: boolean; } /** * Create Express router with UI Bridge routes */ export declare function createExpressRouter(handlers: UIBridgeServerHandlers, config?: ExpressAdapterConfig): Router; /** * Create Express app with UI Bridge routes * * Convenience function that creates a complete Express app with UI Bridge. */ export declare function createExpressApp(handlers: UIBridgeServerHandlers, config?: ExpressAdapterConfig): unknown; /** * Express middleware that adds UI Bridge to an existing app */ export declare function uiBridgeMiddleware(handlers: UIBridgeServerHandlers, config?: ExpressAdapterConfig): Router; //# sourceMappingURL=express.d.ts.map