import type { Database } from "../../shared/sqlite";
export interface RawMessage {
    ordinal: number;
    id: string;
    role: string;
    parts: unknown[];
}
export declare function readRawSessionMessagesFromDb(db: Database, sessionId: string): RawMessage[];
export declare function readRawSessionMessageByIdFromDb(db: Database, sessionId: string, messageId: string): RawMessage | null;
//# sourceMappingURL=read-session-raw.d.ts.map