import type { KnowledgeCapsule, KnowledgeSource, KnowledgeSourceScope } from "@oscharko-dev/keiko-contracts";
export type SourceRoutingValidationCode = "always-query-without-sources" | "always-query-capsule-not-ready" | "always-query-source-list-mismatch" | "unknown-source-token" | "instructions-empty" | "include-globs-empty-array" | "exclude-globs-empty-array" | "duplicate-glob" | "glob-path-escape" | "absolute-glob" | "exclude-cancels-include";
export declare class SourceRoutingValidationError extends Error {
    readonly code: SourceRoutingValidationCode;
    constructor(code: SourceRoutingValidationCode, message: string);
}
export declare function validateAlwaysQuery(capsule: KnowledgeCapsule, sources: readonly KnowledgeSource[]): void;
export declare function validateRoutingInstructionsScope(instructions: string | undefined, sources: readonly KnowledgeSource[]): void;
export declare function validateGlobPatterns(scope: KnowledgeSourceScope): void;
export declare function validateSourceRoutingForCapsule(capsule: KnowledgeCapsule, sources: readonly KnowledgeSource[]): void;
//# sourceMappingURL=source-routing-validation.d.ts.map