import type { IncomingMessage } from "node:http";
import { type TranscriptEventInput } from "./transcript-store.js";
export declare function accountIdFromSessionKey(sessionKey: string): string | null;
export declare function resolveArchiveAccountId(req: IncomingMessage | null, sessionKey: string): string | null;
export declare function archiveTranscriptEvent(params: {
    accountId: string | null | undefined;
    sessionKey: string | null | undefined;
    event: TranscriptEventInput;
}): void;
