import type { IncomingMessage, ServerResponse } from 'http';
export interface RouteContext {
    pathname: string;
    url: URL;
    req: IncomingMessage;
    res: ServerResponse;
    initialPath: string;
    handlePostRequest: (req: IncomingMessage, res: ServerResponse, handler: (body: unknown) => Promise<any>) => void;
    broadcastToClients: (data: unknown) => void;
}
export declare function handleAuthRoutes(ctx: RouteContext): Promise<boolean>;
//# sourceMappingURL=auth-routes.d.ts.map