/**
 * AgentMessage Database Mapper
 *
 * Maps between AgentMessage domain objects and SQLite rows for the
 * agent_messages table. Dates are stored as INTEGER unix milliseconds.
 */
import type { AgentMessage } from '../../../../domain/generated/output.js';
export interface AgentMessageRow {
    id: string;
    app_id: string;
    feature_id: string | null;
    from_agent_run_id: string | null;
    from_actor: string;
    to_target: string;
    to_kind: string;
    message_kind: string;
    payload: string;
    correlation_id: string | null;
    delivered_at: number | null;
    created_at: number;
    updated_at: number;
}
export declare function toDatabase(message: AgentMessage): AgentMessageRow;
export declare function fromDatabase(row: AgentMessageRow): AgentMessage;
//# sourceMappingURL=agent-message.mapper.d.ts.map