import type { IncomingMessage, ServerResponse } from "node:http"; import type { Office } from "../../../office/types.js"; import type { SessionViewModel, SessionViewToken } from "./types.js"; import { InMemoryTokenStore } from "../token-store.js"; import type { SessionViewTokenCreateOptions } from "../../../types.js"; export declare class InMemorySessionViewTokenStore extends InMemoryTokenStore { create(options: SessionViewTokenCreateOptions): SessionViewToken; } import type { SessionViewInteractiveOptions } from "./types.js"; export declare function handleSessionViewRequest(req: IncomingMessage, res: ServerResponse, url: URL, sessionViewTokenStore?: InMemorySessionViewTokenStore, interactive?: SessionViewInteractiveOptions): Promise; export declare function parseUserBody(raw: string): { timestamp: string | null; username: string | null; threadTs: string | null; header: string | null; content: string; }; export declare function loadSessionViewModel(office: Office, sessionKey: string): Promise; //# sourceMappingURL=portal.d.ts.map