import { type OrganizationPolicy } from '@dharma-ai-labs/agent-fabric-policy'; import type { BoundRepositorySource } from './repositorySourceSync.js'; export type NamedPeerContentBlocker = 'text_contract_invalid' | 'foreign_policy' | 'private_local_path' | 'excluded_path' | 'redaction_required' | 'metadata_only' | 'source_authority_unavailable' | 'source_subtree_not_authorized' | 'authority_unavailable'; export declare class NamedPeerContentAuthorizationError extends Error { readonly blocker: NamedPeerContentBlocker; constructor(blocker: NamedPeerContentBlocker); } export declare function createNamedPeerContentAuthorization(input: { scope: BoundRepositorySource; loadCurrentPolicy(): Promise; loadCurrentSourceAuthorization(): Promise; now?: () => Date; diagnostics?: boolean; }): (content: string, kind: "question" | "answer") => Promise; //# sourceMappingURL=namedPeerContentAuthorization.d.ts.map