export interface NodeDefinition { /** Path to entry module (e.g., "./src/worker.ts") */ entry: string; /** Roles for this node type */ roles?: string[]; /** Number of instances to start. Default: 1 */ count?: number; /** Port number or "auto" for auto-assignment. Default: "auto" */ port?: number | "auto"; } export interface DeployConfig { /** Deployment strategy */ strategy: "rolling"; /** Max time in ms to wait for drain. Default: 30000 */ drainTimeout?: number; /** Health check configuration */ healthCheck?: { /** Interval between checks in ms. Default: 1000 */ interval?: number; /** Number of retries before failure. Default: 10 */ retries?: number; }; } export interface LibeamConfig { cluster: { /** Cookie for cluster authentication */ cookie?: string; /** Seed nodes for cluster formation */ seedNodes?: string[]; }; /** Node type definitions */ nodes: Record; /** Deployment configuration */ deploy?: DeployConfig; } /** * Loads the libeam config from the current working directory. * Tries libeam.config.ts, .js, .mjs in order. */ export declare function loadConfig(cwd?: string): Promise; /** * Loads config or returns null if not found (for commands that don't require config). */ export declare function loadConfigOrNull(cwd?: string): Promise; //# sourceMappingURL=config.d.ts.map