import type { Session } from "./server-session.js";
export declare function handleSessionRoutes(options: {
    req: import("node:http").IncomingMessage;
    res: import("node:http").ServerResponse<import("node:http").IncomingMessage>;
    pathname: string;
    cors: Record<string, string>;
    env: Record<string, string | undefined>;
    port: number;
    sessions: Map<string, Session>;
    refreshSessions: Map<string, Session>;
}): Promise<boolean>;
