import { SchemaModel } from '@contractspec/lib.schema';
import { type AnyOperationSpec } from '../operations/';
import type { OperationSpecRegistry } from '../operations/registry';
export declare const CreateKnowledgeSource: import("..").OperationSpec<SchemaModel<{
    tenantId: {
        type: import("@contractspec/lib.schema").FieldType<string, string>;
        isOptional: false;
    };
    spaceKey: {
        type: import("@contractspec/lib.schema").FieldType<string, string>;
        isOptional: false;
    };
    spaceVersion: {
        type: import("@contractspec/lib.schema").FieldType<string, string>;
        isOptional: false;
    };
    label: {
        type: import("@contractspec/lib.schema").FieldType<string, string>;
        isOptional: false;
    };
    sourceType: {
        type: import("@contractspec/lib.schema").FieldType<string, string>;
        isOptional: false;
    };
    config: {
        type: import("@contractspec/lib.schema").FieldType<Record<string, unknown>, Record<string, unknown>>;
        isOptional: false;
    };
    syncSchedule: {
        type: SchemaModel<{
            enabled: {
                type: import("@contractspec/lib.schema").FieldType<boolean, boolean>;
                isOptional: false;
            };
            cron: {
                type: import("@contractspec/lib.schema").FieldType<string, string>;
                isOptional: true;
            };
            intervalMs: {
                type: import("@contractspec/lib.schema").FieldType<number, number>;
                isOptional: true;
            };
        }>;
        isOptional: true;
    };
}>, SchemaModel<{
    id: {
        type: import("@contractspec/lib.schema").FieldType<string, string>;
        isOptional: false;
    };
    tenantId: {
        type: import("@contractspec/lib.schema").FieldType<string, string>;
        isOptional: false;
    };
    spaceKey: {
        type: import("@contractspec/lib.schema").FieldType<string, string>;
        isOptional: false;
    };
    spaceVersion: {
        type: import("@contractspec/lib.schema").FieldType<string, string>;
        isOptional: false;
    };
    label: {
        type: import("@contractspec/lib.schema").FieldType<string, string>;
        isOptional: false;
    };
    sourceType: {
        type: import("@contractspec/lib.schema").FieldType<string, string>;
        isOptional: false;
    };
    syncSchedule: {
        type: SchemaModel<{
            enabled: {
                type: import("@contractspec/lib.schema").FieldType<boolean, boolean>;
                isOptional: false;
            };
            cron: {
                type: import("@contractspec/lib.schema").FieldType<string, string>;
                isOptional: true;
            };
            intervalMs: {
                type: import("@contractspec/lib.schema").FieldType<number, number>;
                isOptional: true;
            };
        }>;
        isOptional: true;
    };
    lastSyncStatus: {
        type: import("@contractspec/lib.schema").FieldType<string, string>;
        isOptional: true;
    };
    lastSyncAt: {
        type: import("@contractspec/lib.schema").FieldType<Date, string>;
        isOptional: true;
    };
    itemsProcessed: {
        type: import("@contractspec/lib.schema").FieldType<number, number>;
        isOptional: true;
    };
    createdAt: {
        type: import("@contractspec/lib.schema").FieldType<Date, string>;
        isOptional: true;
    };
    updatedAt: {
        type: import("@contractspec/lib.schema").FieldType<Date, string>;
        isOptional: true;
    };
}>, undefined>;
export declare const UpdateKnowledgeSource: import("..").OperationSpec<SchemaModel<{
    sourceId: {
        type: import("@contractspec/lib.schema").FieldType<string, string>;
        isOptional: false;
    };
    label: {
        type: import("@contractspec/lib.schema").FieldType<string, string>;
        isOptional: true;
    };
    config: {
        type: import("@contractspec/lib.schema").FieldType<Record<string, unknown>, Record<string, unknown>>;
        isOptional: true;
    };
    syncSchedule: {
        type: SchemaModel<{
            enabled: {
                type: import("@contractspec/lib.schema").FieldType<boolean, boolean>;
                isOptional: false;
            };
            cron: {
                type: import("@contractspec/lib.schema").FieldType<string, string>;
                isOptional: true;
            };
            intervalMs: {
                type: import("@contractspec/lib.schema").FieldType<number, number>;
                isOptional: true;
            };
        }>;
        isOptional: true;
    };
}>, SchemaModel<{
    id: {
        type: import("@contractspec/lib.schema").FieldType<string, string>;
        isOptional: false;
    };
    tenantId: {
        type: import("@contractspec/lib.schema").FieldType<string, string>;
        isOptional: false;
    };
    spaceKey: {
        type: import("@contractspec/lib.schema").FieldType<string, string>;
        isOptional: false;
    };
    spaceVersion: {
        type: import("@contractspec/lib.schema").FieldType<string, string>;
        isOptional: false;
    };
    label: {
        type: import("@contractspec/lib.schema").FieldType<string, string>;
        isOptional: false;
    };
    sourceType: {
        type: import("@contractspec/lib.schema").FieldType<string, string>;
        isOptional: false;
    };
    syncSchedule: {
        type: SchemaModel<{
            enabled: {
                type: import("@contractspec/lib.schema").FieldType<boolean, boolean>;
                isOptional: false;
            };
            cron: {
                type: import("@contractspec/lib.schema").FieldType<string, string>;
                isOptional: true;
            };
            intervalMs: {
                type: import("@contractspec/lib.schema").FieldType<number, number>;
                isOptional: true;
            };
        }>;
        isOptional: true;
    };
    lastSyncStatus: {
        type: import("@contractspec/lib.schema").FieldType<string, string>;
        isOptional: true;
    };
    lastSyncAt: {
        type: import("@contractspec/lib.schema").FieldType<Date, string>;
        isOptional: true;
    };
    itemsProcessed: {
        type: import("@contractspec/lib.schema").FieldType<number, number>;
        isOptional: true;
    };
    createdAt: {
        type: import("@contractspec/lib.schema").FieldType<Date, string>;
        isOptional: true;
    };
    updatedAt: {
        type: import("@contractspec/lib.schema").FieldType<Date, string>;
        isOptional: true;
    };
}>, undefined>;
export declare const DeleteKnowledgeSource: import("..").OperationSpec<SchemaModel<{
    sourceId: {
        type: import("@contractspec/lib.schema").FieldType<string, string>;
        isOptional: false;
    };
}>, SchemaModel<{
    success: {
        type: import("@contractspec/lib.schema").FieldType<boolean, boolean>;
        isOptional: false;
    };
}>, undefined>;
export declare const ListKnowledgeSources: import("..").OperationSpec<SchemaModel<{
    tenantId: {
        type: import("@contractspec/lib.schema").FieldType<string, string>;
        isOptional: false;
    };
    spaceKey: {
        type: import("@contractspec/lib.schema").FieldType<string, string>;
        isOptional: true;
    };
}>, SchemaModel<{
    sources: {
        type: SchemaModel<{
            id: {
                type: import("@contractspec/lib.schema").FieldType<string, string>;
                isOptional: false;
            };
            tenantId: {
                type: import("@contractspec/lib.schema").FieldType<string, string>;
                isOptional: false;
            };
            spaceKey: {
                type: import("@contractspec/lib.schema").FieldType<string, string>;
                isOptional: false;
            };
            spaceVersion: {
                type: import("@contractspec/lib.schema").FieldType<string, string>;
                isOptional: false;
            };
            label: {
                type: import("@contractspec/lib.schema").FieldType<string, string>;
                isOptional: false;
            };
            sourceType: {
                type: import("@contractspec/lib.schema").FieldType<string, string>;
                isOptional: false;
            };
            syncSchedule: {
                type: SchemaModel<{
                    enabled: {
                        type: import("@contractspec/lib.schema").FieldType<boolean, boolean>;
                        isOptional: false;
                    };
                    cron: {
                        type: import("@contractspec/lib.schema").FieldType<string, string>;
                        isOptional: true;
                    };
                    intervalMs: {
                        type: import("@contractspec/lib.schema").FieldType<number, number>;
                        isOptional: true;
                    };
                }>;
                isOptional: true;
            };
            lastSyncStatus: {
                type: import("@contractspec/lib.schema").FieldType<string, string>;
                isOptional: true;
            };
            lastSyncAt: {
                type: import("@contractspec/lib.schema").FieldType<Date, string>;
                isOptional: true;
            };
            itemsProcessed: {
                type: import("@contractspec/lib.schema").FieldType<number, number>;
                isOptional: true;
            };
            createdAt: {
                type: import("@contractspec/lib.schema").FieldType<Date, string>;
                isOptional: true;
            };
            updatedAt: {
                type: import("@contractspec/lib.schema").FieldType<Date, string>;
                isOptional: true;
            };
        }>;
        isOptional: false;
        isArray: true;
    };
}>, undefined>;
export declare const TriggerKnowledgeSourceSync: import("..").OperationSpec<SchemaModel<{
    sourceId: {
        type: import("@contractspec/lib.schema").FieldType<string, string>;
        isOptional: false;
    };
}>, SchemaModel<{
    success: {
        type: import("@contractspec/lib.schema").FieldType<boolean, boolean>;
        isOptional: false;
    };
    itemsProcessed: {
        type: import("@contractspec/lib.schema").FieldType<number, number>;
        isOptional: true;
    };
    error: {
        type: import("@contractspec/lib.schema").FieldType<string, string>;
        isOptional: true;
    };
}>, undefined>;
export declare const knowledgeContracts: Record<string, AnyOperationSpec>;
export declare function registerKnowledgeContracts(registry: OperationSpecRegistry): OperationSpecRegistry;
