import fs from 'node:fs'; export type FsLike = Pick; export type WhichLike = { sync: (cmd: string) => string; }; export type Deps = { fs?: FsLike; which?: WhichLike; env?: NodeJS.ProcessEnv; platform?: NodeJS.Platform; userhome?: (p: string) => string; }; export default function locateChromium(allowFallbackOrDeps?: boolean | Deps, depsMaybe?: Deps): string | null; export type InstallGuidanceStep = { summary: string; command: string; }; export type InstallGuidanceOptions = { steps?: InstallGuidanceStep[]; }; export declare function getInstallGuidance(opts?: InstallGuidanceOptions): string; export declare function locateChromiumOrExplain(options?: boolean | { allowFallback?: boolean; }): string; /** * Cross-platform Chromium version resolver. * - Never executes the browser by default. * - On Windows: reads PE metadata via PowerShell. * - On macOS: reads Info.plist next to the binary when using CfT layout (via cache or conventional install). * - On Linux/others: attempts to infer from Puppeteer cache folder; otherwise returns null unless allowExec is true. */ export declare function getChromiumVersion(bin: string, opts?: { allowExec?: boolean; }): string | null;