export interface PortRange { start: number; end: number; service: string; } export interface PortAllocationResult { port: number; service: string; attempted: number[]; success: boolean; error?: string; } export interface AllocationSummary { allocations: Map; totalAttempted: number[]; success: boolean; } export interface InstanceInfo { pid: number; port: number; service: string; startTime: number; } export interface PortAllocatorConfig { instanceTrackingDir?: string; } export declare class PortAllocator { private static config; private static get INSTANCE_TRACKING_DIR(); static initialize(config: PortAllocatorConfig): void; static getConfig(): PortAllocatorConfig; static isPortExcluded(port: number): boolean; static isPortUsedByVibeCoderInstance(port: number): Promise; static findAvailablePort(port: number): Promise; static findAvailablePortInRange(range: PortRange): Promise; static parsePortRange(envVar: string, defaultRange: PortRange): PortRange; static detectPortConflicts(ports: number[]): Promise>; static allocatePortsForServices(ranges: PortRange[]): Promise; static cleanupOrphanedPorts(): Promise; static registerInstance(port: number, service: string): Promise; static unregisterInstance(port: number): Promise; static getActiveInstances(): Promise; private static isProcessRunning; static cleanupInstanceTracking(): Promise; } //# sourceMappingURL=port-allocator.d.ts.map