export declare const AGENT_KNOWLEDGE_PROTOCOL: "bailing.agent-knowledge.v1"; export type AgentKnowledgeStatus = 'ok' | 'disabled' | 'unavailable' | 'partial'; export type AgentKnowledgeHint = { ref: string; title: string; summary: string; revision: string; score: number; expires_at: string; }; export type AgentKnowledgeCapabilities = { schema_version: 'bailing.agent-knowledge-capabilities.v1'; protocol: typeof AGENT_KNOWLEDGE_PROTOCOL; supported: boolean; route: string; enabled?: boolean; knowledge_scope_revision?: string; delivery_modes?: ('inline' | 'on_demand')[]; limits?: Record; }; export type AgentKnowledgeDelivery = { schema_version: 'bailing.agent-knowledge-delivery.v1'; mode: 'on_demand'; protocol: typeof AGENT_KNOWLEDGE_PROTOCOL; knowledge_scope_revision: string; status: AgentKnowledgeStatus; hints: AgentKnowledgeHint[]; }; export type SearchAgentKnowledgeInput = { query: string; limit?: number; runId?: string; }; export type ReadAgentKnowledgeInput = { ref: string; runId?: string; cursor?: string; maxBytes?: number; }; export type AgentKnowledgeSearch = { schema_version: 'bailing.agent-knowledge-search.v1'; route: string; run_id?: string; knowledge_scope_revision: string; status: AgentKnowledgeStatus; trust: 'reference_only'; hints: AgentKnowledgeHint[]; truncated: boolean; }; export type AgentKnowledgeRead = { schema_version: 'bailing.agent-knowledge-read.v1'; route: string; run_id?: string; knowledge_scope_revision: string; ref: string; revision: string; title: string; content: string; trust: 'reference_only'; next_cursor: string | null; truncated: boolean; budget_exhausted?: boolean; total_content_bytes?: number; read_chain_max_bytes?: number; }; export declare function normalizeKnowledgeCapabilities(value: unknown, route: string): AgentKnowledgeCapabilities; export declare function normalizeKnowledgeDelivery(value: unknown): AgentKnowledgeDelivery; export declare function normalizeKnowledgeSearch(value: unknown, route: string, runId?: string): AgentKnowledgeSearch; export declare function normalizeKnowledgeRead(value: unknown, route: string, input: ReadAgentKnowledgeInput): AgentKnowledgeRead; //# sourceMappingURL=agent-knowledge.d.ts.map