import type { IncomingMessage, ServerResponse } from 'node:http'; /** * Match-and-handle dispatcher. Returns `true` when the request was * served; `false` when the URL/method didn't match. */ export declare function handleWorkspaceFilesApi(req: IncomingMessage, res: ServerResponse, url: URL): Promise; /** * Resolve a user-supplied path under a workspace base and verify that the * *real* filesystem path (after symlink resolution) still lives under `base`. * Returns the validated real path, or null + sends an error response. */ export declare function validateWorkspacePath(base: string, userPath: string, res: ServerResponse): Promise; //# sourceMappingURL=workspace-files-api.d.ts.map