import type { WorkerConfig } from '../global-config.js';
export declare const MIN_AUTO_MAX_LIVE_WORKERS = 4;
export declare const MAX_AUTO_MAX_LIVE_WORKERS = 32;
export declare const DEFAULT_IDLE_SUSPEND_MS: number;
export interface WorkerResources {
    cpuCount: number;
    memoryBytes: number;
}
export interface ResolvedWorkerBudget {
    maxLiveWorkers: number;
    idleSuspendMs: number;
    autoMaxLiveWorkers: number;
    maxLiveWorkersSource: 'auto' | 'config';
    idleSuspendMsSource: 'default' | 'config';
}
export declare function detectWorkerResources(): WorkerResources;
export declare function autoMaxLiveWorkers(resources?: WorkerResources): number;
export declare function resolveWorkerBudget(workerConfig?: WorkerConfig, resources?: WorkerResources): ResolvedWorkerBudget;
//# sourceMappingURL=worker-budget.d.ts.map