import type { MemoryRecord } from "@oscharko-dev/keiko-contracts/memory";
import type { MemoryContentCipher } from "./cipher.js";
export interface MemoryRow {
    readonly id: string;
    readonly schema_version: string;
    readonly type: string;
    readonly scope_kind: string;
    readonly scope_coordinate: string;
    readonly body: string;
    readonly payload_json: string | null;
    readonly status: string;
    readonly sensitivity: string;
    readonly pinned: number;
    readonly confidence: number;
    readonly valid_from: number;
    readonly valid_until: number | null;
    readonly stale_reason: string | null;
    readonly tags_json: string;
    readonly source_kind: string;
    readonly source_conversation_id: string | null;
    readonly source_workflow_run_id: string | null;
    readonly source_evidence_manifest_id: string | null;
    readonly captured_at: number;
    readonly capture_rationale: string | null;
    readonly model_provider: string | null;
    readonly model_id: string | null;
    readonly model_revision: string | null;
    readonly retention_policy_key: string | null;
    readonly retention_retain_until: number | null;
    readonly retention_notes: string | null;
    readonly created_at: number;
    readonly updated_at: number;
}
export declare function rowToMemoryRecord(row: MemoryRow, cipher: MemoryContentCipher): MemoryRecord;
export interface MemoryRowWrite {
    readonly id: string;
    readonly schema_version: string;
    readonly type: string;
    readonly scope_kind: string;
    readonly scope_coordinate: string;
    readonly body: string;
    readonly payload_json: string | null;
    readonly status: string;
    readonly sensitivity: string;
    readonly pinned: number;
    readonly confidence: number;
    readonly valid_from: number;
    readonly valid_until: number | null;
    readonly stale_reason: string | null;
    readonly tags_json: string;
    readonly source_kind: string;
    readonly source_conversation_id: string | null;
    readonly source_workflow_run_id: string | null;
    readonly source_evidence_manifest_id: string | null;
    readonly captured_at: number;
    readonly capture_rationale: string | null;
    readonly model_provider: string | null;
    readonly model_id: string | null;
    readonly model_revision: string | null;
    readonly retention_policy_key: string | null;
    readonly retention_retain_until: number | null;
    readonly retention_notes: string | null;
    readonly created_at: number;
    readonly updated_at: number;
}
export declare function memoryRecordToRow(record: MemoryRecord, cipher: MemoryContentCipher): MemoryRowWrite;
//# sourceMappingURL=serialize.d.ts.map