/** * Express.js middleware for RecCall API server * Provides REST API endpoints for team deployments */ type Request = any; type Response = any; type NextFunction = any; import type { ICoreEngine } from '../../core/interfaces.js'; import type { ContextEngine } from '../../core/context-engine.js'; export interface ReccallMiddlewareOptions { engine: ICoreEngine; contextEngine?: ContextEngine; basePath?: string; authenticate?: (req: Request) => Promise; } /** * Express middleware factory */ export declare function createReccallMiddleware(options: ReccallMiddlewareOptions): (req: Request, res: Response, next: NextFunction) => Promise; /** * Express router setup helper */ export declare function setupReccallRoutes(app: any, options: ReccallMiddlewareOptions): void; /** * Type definitions for request/response */ export interface ShortcutRequest { shortcut: string; context: string; category?: string; tags?: string[]; } export interface ShortcutResponse { shortcut: string; context: string; createdAt: string; updatedAt: string; } export interface SearchResponse { results: ShortcutResponse[]; } export interface StatsResponse { shortcutsCount: number; cacheStats: any; repositoryStats: any; } export {}; //# sourceMappingURL=express.d.ts.map