import type { KnowledgeCapsuleId, KnowledgeSource, KnowledgeSourceId, KnowledgeSourceScope } from "@oscharko-dev/keiko-contracts";
import type { AuditEventSink } from "./privacy/types.js";
import type { KnowledgeStore } from "./store.js";
export interface AddCapsuleSourceInput {
    readonly id: KnowledgeSourceId;
    readonly displayName: string;
    readonly description?: string;
    readonly tags: readonly string[];
    readonly scope: KnowledgeSourceScope;
}
export declare function addSourceToCapsule(store: KnowledgeStore, capsuleId: KnowledgeCapsuleId, input: AddCapsuleSourceInput, auditSink?: AuditEventSink): KnowledgeSource;
export declare function listCapsuleSources(store: KnowledgeStore, capsuleId: KnowledgeCapsuleId): readonly KnowledgeSource[];
export declare function removeSourceFromCapsule(store: KnowledgeStore, capsuleId: KnowledgeCapsuleId, sourceId: KnowledgeSourceId, auditSink?: AuditEventSink): void;
//# sourceMappingURL=source-lifecycle.d.ts.map