import type { IncomingMessage, ServerResponse } from 'node:http'; /** * Match-and-handle dispatcher for authenticated /api/memos routes. * Returns `true` when the request was served; `false` when not matched. * * The /api/loc routes remain public and are exported as handleLocInfo / * handleLocPost for direct call from the server's pre-auth block. */ export declare function handleMemosApi(req: IncomingMessage, res: ServerResponse, url: URL): Promise; /** GET /api/loc/info?t=… — public peek (does NOT consume the token). */ export declare function handleLocInfo(_req: IncomingMessage, res: ServerResponse, url: URL): Promise; /** POST /api/loc — public; consumes single-use token and records location. */ export declare function handleLocPost(req: IncomingMessage, res: ServerResponse): Promise; //# sourceMappingURL=memos-api.d.ts.map