import { Definitions } from './definition';
import { DataSource } from './data-sources';
export declare namespace Typings {
    type Props = {
        name: string;
        description?: string;
        sources: DataSource[];
    };
    const Primitive: "knowledge";
}
export declare class BaseKnowledge implements Definitions.Primitive {
    readonly name: string;
    readonly sources: DataSource[];
    readonly description?: string;
    constructor(props: Typings.Props);
    /**
     * Refresh the knowledge base by triggering the built-in indexing workflow for all sources
     * This will fetch data from all data sources and update the knowledge base
     * @param force - If true, forces re-indexing of all data even if unchanged
     * @returns Promise that resolves when the indexing workflow has been started
     */
    refresh(options?: Partial<{
        force?: boolean;
    }>): Promise<void>;
    /**
     * Refresh a specific data source by its ID
     *
     * @param sourceId - The ID of the data source to refresh
     * @param force - If true, forces re-indexing of all data even if unchanged
     * @returns Promise that resolves when the source has been queued for indexing
     */
    refreshSource(sourceId: string, options?: Partial<{
        force?: boolean;
    }>): Promise<void>;
}
//# sourceMappingURL=knowledge.d.ts.map