export * from './asset';
export * from './workflow-instance';
export * from './conversation-instance';
export * from './reference';
import { Definitions as _Definitions } from './definition';
import * as _DataSources from './data-sources/index';
import { Typings as _ConversationTypings } from './conversation.js';
import { Typings as _KnowledgeTypings } from './knowledge.js';
import { BaseWorkflow as _BaseWorkflow, Typings as _WorkflowTypings } from './workflow.js';
import { BaseAction as _BaseAction, Typings as _ActionTypings } from './action.js';
import { Typings as _TableTypings } from './table.js';
import { Typings as _TriggerTypings } from './trigger.js';
import { ZuiType } from '../types';
export declare namespace Primitives {
    export import Definitions = _Definitions;
    export import Conversation = _ConversationTypings;
    export import Knowledge = _KnowledgeTypings;
    export import Workflow = _WorkflowTypings;
    export import Action = _ActionTypings;
    export import Table = _TableTypings;
    export import Trigger = _TriggerTypings;
}
export { BaseConversation as Conversation } from './conversation.js';
export { BaseKnowledge as Knowledge } from './knowledge.js';
export declare class Action<TInput extends ZuiType, TOutput extends ZuiType> extends _BaseAction<TInput, TOutput> {
}
export { BaseTable as Table } from './table.js';
export { BaseWorkflow as Workflow } from './workflow.js';
export { Trigger } from './trigger.js';
export declare namespace DataSource {
    const createSyncWorkflow: <TState extends import("llmz/dist/types").ZuiType = import("llmz/dist/types").ZuiType>(props: {
        type: string;
        state: TState;
        handler: (props: _WorkflowTypings.HandlerProps<`data_source_sync_${string}`, typeof _DataSources.SyncInput, typeof _DataSources.SyncOutput, TState>) => Promise<import("@bpinternal/zui").TypeOf<typeof _DataSources.SyncOutput>>;
    }) => _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;
    }>, TState, Record<string, ZuiType>>;
    const Table: typeof _DataSources.TableSource;
    const Website: typeof _DataSources.WebsiteSource;
    const Directory: typeof _DataSources.DirectorySource;
    const isDirectory: typeof _DataSources.isDirectorySource;
    const isWebsite: typeof _DataSources.isWebsiteSource;
    const isTable: typeof _DataSources.isTableSource;
    type Any = _DataSources.DataSource;
    const Base: typeof _DataSources.DataSourceBase;
    type DirectorySource = _DataSources.DirectorySource;
    type WebsiteSource = _DataSources.WebsiteSource;
    type TableSource = _DataSources.TableSource;
    type Item = _DataSources.Item;
    type SyncInput = _DataSources.SyncInput;
    type SyncOutput = _DataSources.SyncOutput;
}
//# sourceMappingURL=index.d.ts.map