export declare const MIN_PORT = 1024;
export declare const MAX_PORT = 65535;
export type Platform = "linux" | "darwin" | "win32";
export declare class LauncherError extends Error {
    readonly code: string;
    constructor(code: string, message: string);
}
export declare function validateExecPath(path: string): string;
export declare function validatePort(port: number): number;
export interface LauncherContentInput {
    readonly exe: string;
    readonly port: number | undefined;
}
export interface PlatformLauncher {
    readonly id: Platform;
    readonly installDirFor: (homedir: string) => string;
    readonly safeFileName: () => string;
    readonly generateContent: (input: LauncherContentInput) => string;
    readonly fileMode: number;
}
export declare const linuxLauncher: PlatformLauncher;
export declare const macosLauncher: PlatformLauncher;
export declare const windowsLauncher: PlatformLauncher;
export declare function launcherFor(platform: NodeJS.Platform): PlatformLauncher;
//# sourceMappingURL=launcher-platforms.d.ts.map