import { DataSource } from './source-base';
type DirectorySourceOptions = {
    id?: string;
    filter?: (filePath: string) => boolean;
};
export declare class DirectorySource extends DataSource {
    private _directoryPath;
    private _filterFn;
    private constructor();
    /** Get the directory path for this source */
    get directoryPath(): string;
    /** Get the filter function for this source */
    get filterFn(): ((filePath: string) => boolean) | undefined;
    /** Get serializable configuration for change detection */
    getConfig(): Record<string, unknown>;
    get syncWorkflow(): import("../workflow").BaseWorkflow<`data_source_sync_${string}`, import("@bpinternal/zui").ZodObject<{
        dsId: import("@bpinternal/zui").ZodString;
        kbName: import("@bpinternal/zui").ZodString;
        kbId: import("@bpinternal/zui").ZodString;
        force: import("@bpinternal/zui").ZodDefault<import("@bpinternal/zui").ZodOptional<import("@bpinternal/zui").ZodBoolean>>;
    }, "strip", {
        kbId: string;
        kbName: string;
        dsId: string;
        force: boolean;
    }, {
        kbId: string;
        kbName: string;
        dsId: string;
        force?: boolean | undefined;
    }>, import("@bpinternal/zui").ZodObject<{
        processed: import("@bpinternal/zui").ZodDefault<import("@bpinternal/zui").ZodNumber>;
        added: import("@bpinternal/zui").ZodDefault<import("@bpinternal/zui").ZodArray<import("@bpinternal/zui").ZodObject<{
            file: import("@bpinternal/zui").ZodString;
            name: import("@bpinternal/zui").ZodString;
            hash: import("@bpinternal/zui").ZodString;
            size: import("@bpinternal/zui").ZodNumber;
        }, "strip", {
            name: string;
            size: number;
            hash: string;
            file: string;
        }, {
            name: string;
            size: number;
            hash: string;
            file: string;
        }>, "many">>;
        updated: import("@bpinternal/zui").ZodDefault<import("@bpinternal/zui").ZodArray<import("@bpinternal/zui").ZodObject<{
            file: import("@bpinternal/zui").ZodString;
            name: import("@bpinternal/zui").ZodString;
            hash: import("@bpinternal/zui").ZodString;
            size: import("@bpinternal/zui").ZodNumber;
        }, "strip", {
            name: string;
            size: number;
            hash: string;
            file: string;
        }, {
            name: string;
            size: number;
            hash: string;
            file: string;
        }>, "many">>;
        deleted: import("@bpinternal/zui").ZodDefault<import("@bpinternal/zui").ZodArray<import("@bpinternal/zui").ZodObject<{
            file: import("@bpinternal/zui").ZodString;
            name: import("@bpinternal/zui").ZodString;
            hash: import("@bpinternal/zui").ZodString;
            size: import("@bpinternal/zui").ZodNumber;
        }, "strip", {
            name: string;
            size: number;
            hash: string;
            file: string;
        }, {
            name: string;
            size: number;
            hash: string;
            file: string;
        }>, "many">>;
        errors: import("@bpinternal/zui").ZodDefault<import("@bpinternal/zui").ZodArray<import("@bpinternal/zui").ZodString, "many">>;
    }, "strip", {
        processed: number;
        added: {
            name: string;
            size: number;
            hash: string;
            file: string;
        }[];
        updated: {
            name: string;
            size: number;
            hash: string;
            file: string;
        }[];
        deleted: {
            name: string;
            size: number;
            hash: string;
            file: string;
        }[];
        errors: string[];
    }, {
        processed?: number | undefined;
        added?: {
            name: string;
            size: number;
            hash: string;
            file: string;
        }[] | undefined;
        updated?: {
            name: string;
            size: number;
            hash: string;
            file: string;
        }[] | undefined;
        deleted?: {
            name: string;
            size: number;
            hash: string;
            file: string;
        }[] | undefined;
        errors?: string[] | undefined;
    }>, import("@bpinternal/zui").ZodObject<{}, "strip", {}, {}>, Record<string, import("../../types").ZuiType>>;
    static fromPath(directoryPath: string, options?: DirectorySourceOptions): DirectorySource;
}
export {};
//# sourceMappingURL=source-directory.d.ts.map