import type { CapsuleSet, ConnectorGraphState, ConnectorNode, EmbeddingModelIdentity, KnowledgeCapsule, KnowledgeSourceScope } from "./local-knowledge.js";
export interface ValidationOk<T> {
    readonly ok: true;
    readonly value: T;
}
export interface ValidationFail {
    readonly ok: false;
    readonly errors: readonly string[];
}
export type LocalKnowledgeValidation<T> = ValidationOk<T> | ValidationFail;
export declare function isSafeDisplaySummary(value: unknown): value is string;
export declare function validateEmbeddingModelIdentity(input: unknown): LocalKnowledgeValidation<EmbeddingModelIdentity>;
export declare function validateKnowledgeSourceScope(input: unknown): LocalKnowledgeValidation<KnowledgeSourceScope>;
export declare function validateKnowledgeCapsule(input: unknown): LocalKnowledgeValidation<KnowledgeCapsule>;
export declare function validateCapsuleSet(input: unknown): LocalKnowledgeValidation<CapsuleSet>;
export declare function validateConnectorGraphState(input: unknown): LocalKnowledgeValidation<ConnectorGraphState>;
export type { ConnectorNode };
//# sourceMappingURL=local-knowledge-validation.d.ts.map