/**
 * SQLite AgentMessage Repository (spec 093)
 *
 * Backed by the agent_messages table (migration 087). Every read is
 * scoped by app_id at the SQL layer for cross-app isolation (NFR-7).
 */
import type Database from 'better-sqlite3';
import type { AgentMessageListFilters, IAgentMessageRepository } from '../../application/ports/output/repositories/agent-message-repository.interface.js';
import type { AgentMessage } from '../../domain/generated/output.js';
export declare class SQLiteAgentMessageRepository implements IAgentMessageRepository {
    private readonly db;
    constructor(db: Database.Database);
    create(message: AgentMessage): Promise<void>;
    findById(appId: string, id: string): Promise<AgentMessage | null>;
    findByCorrelationId(appId: string, correlationId: string): Promise<AgentMessage | null>;
    listByScope(appId: string, featureId: string | undefined, filters?: AgentMessageListFilters): Promise<AgentMessage[]>;
    markDelivered(appId: string, id: string, deliveredAt: Date): Promise<void>;
}
//# sourceMappingURL=sqlite-agent-message.repository.d.ts.map