import { type ChildProcessWithoutNullStreams } from "node:child_process";
import type { ResolvedBrowserConfig, ResolvedBrowserProfile } from "./config.js";
import { type BrowserExecutable } from "./chrome.executables.js";
export type { BrowserExecutable } from "./chrome.executables.js";
export { findChromeExecutableLinux, findChromeExecutableMac, findChromeExecutableWindows, resolveBrowserExecutableForPlatform, } from "./chrome.executables.js";
export { decorateSKYKOIProfile, ensureProfileCleanExit, isProfileDecorated, } from "./chrome.profile-decoration.js";
export type RunningChrome = {
    pid: number;
    exe: BrowserExecutable;
    userDataDir: string;
    cdpPort: number;
    startedAt: number;
    proc: ChildProcessWithoutNullStreams;
};
export declare function resolveSKYKOIUserDataDir(profileName?: string): string;
export declare function isChromeReachable(cdpUrl: string, timeoutMs?: number): Promise<boolean>;
export declare function getChromeWebSocketUrl(cdpUrl: string, timeoutMs?: number): Promise<string | null>;
export declare function isChromeCdpReady(cdpUrl: string, timeoutMs?: number, handshakeTimeoutMs?: number): Promise<boolean>;
export declare function launchSKYKOIChrome(resolved: ResolvedBrowserConfig, profile: ResolvedBrowserProfile): Promise<RunningChrome>;
export declare function stopSKYKOIChrome(running: RunningChrome, timeoutMs?: number): Promise<void>;
