import type { ApiEnvelope } from "./utils.js";
export declare class DaemonRouter {
    private state;
    private routes;
    constructor(opts: {
        root: string;
    });
    handle(method: string, pathname: string, params: Record<string, unknown>): Promise<{
        status: number;
        body: ApiEnvelope;
    } | null>;
}
//# sourceMappingURL=router.d.ts.map