/** * REST API route definitions derived from Zod schemas * * Replaces the generated api-routes.ts. Route handlers use Zod safeParse for input validation and * z.toJSONSchema() for schema metadata. */ import type { IncomingMessage, ServerResponse } from "node:http"; import type { FileOperations } from "../core/file-operations.js"; export interface ApiRoute { path: string; method: "GET" | "POST" | "PUT" | "DELETE"; handler: (req: IncomingMessage, res: ServerResponse, markmvInstance: FileOperations) => Promise; description: string; inputSchema: Record; outputSchema: Record; } export declare const autoGeneratedApiRoutes: ApiRoute[]; /** Get API route by path */ export declare function getApiRouteByPath(path: string): ApiRoute | undefined; /** Get all API route paths */ export declare function getApiRoutePaths(): string[]; //# sourceMappingURL=api-routes.d.ts.map