import type { LTStartConfig, LTWorkerConfig } from '../types/startup';
type WorkerEntry = {
    taskQueue: string;
    workflow: (...args: any[]) => any;
    connection?: {
        readonly?: boolean;
        retry?: Record<string, unknown>;
    };
    config?: LTWorkerConfig;
};
/**
 * Build the connection descriptor used by HotMesh / Durable.
 */
export declare function buildConnection(): {
    class: unknown;
    options: Record<string, unknown>;
};
/**
 * Collect all workers: system, optional examples, and user-provided.
 */
export declare function collectWorkers(startConfig: LTStartConfig): Promise<{
    workers: WorkerEntry[];
    builtinMcpServerFactories: Record<string, any>;
}>;
/**
 * Run database migrations, start all workers, connect adapters,
 * register MCP server factories, and seed data.
 */
export declare function startWorkers(startConfig: LTStartConfig, workers: WorkerEntry[], builtinMcpServerFactories: Record<string, any>): Promise<{
    adminUserId?: string;
}>;
export {};
