export type Channel = 'stable' | 'canary' | 'beta' | 'dev'; /** Absolute path to the DevToolsActivePort file for a channel / explicit profile dir. */ export declare function getPortPath(channel?: Channel, userDataDir?: string): string; /** * Parse a DevToolsActivePort file body. Format is two lines: * * e.g. /devtools/browser/4fd90b22-... * Returns the browser-level ws:// endpoint. * @throws if the body is malformed. */ export declare function parsePortFile(content: string): string; /** Read the port file and build the ws:// browser endpoint, with a helpful error. */ export declare function buildWsEndpoint(channel?: Channel, userDataDir?: string): string; //# sourceMappingURL=devtools-port.d.ts.map