import { WorkflowResponse, MindStudioWorkers } from "../../types";
type RunFunction = (params: {
    workerId: string;
    workflow: string;
    variables?: Record<string, string>;
    callbackUrl?: string;
    progressUrl?: string;
}) => Promise<WorkflowResponse<any>>;
export declare class WorkerLoader {
    private runFn;
    private configManager;
    constructor(runFn: RunFunction);
    loadFromConfig(): MindStudioWorkers | undefined;
    private createWorkerWorkflows;
    private createWorkerFunctions;
    private createWorkflowFunction;
}
export {};
