Files
Z.AI-Chat-for-Android/node_modules/find-free-ports/index.d.ts

14 lines
583 B
TypeScript

export interface FindFreePortsOptions {
startPort?: number;
endPort?: number;
jobCount?: number;
isFree?: (port: number) => Promise<boolean>;
}
export declare function findFreePorts(count?: number, { endPort, startPort, jobCount, isFree }?: FindFreePortsOptions): Promise<number[]>;
export declare namespace findFreePorts {
var findFreePorts: typeof import(".").findFreePorts;
var isFreePort: typeof import(".").isFreePort;
}
export declare function isFreePort(port: number): Promise<boolean>;
export default findFreePorts;
//# sourceMappingURL=index.d.ts.map