import { ProxyAgent } from 'proxy-agent'; import { type PlatformInfo } from './detect-platform.js'; export interface FontResult { /** The directory we downloaded into (or would have, if any download was needed). */ fontDir: string; /** Categories we successfully ensured (system OR downloaded). */ ready: string[]; /** Categories we failed to ensure (download failed, etc.). Non-fatal. */ failed: string[]; } /** Build an env-aware agent only when a proxy is configured. ProxyAgent also * applies NO_PROXY per redirect target, so GitHub and its CDN can make the * proxy/direct decision independently. Exported for the env contract test. */ export declare function createFontDownloadAgent(): ProxyAgent | undefined; /** Public: paths the screenshot-renderer should also probe. */ export declare function botmuxFontDir(): string; export declare function ensureFonts(info?: PlatformInfo): Promise; //# sourceMappingURL=ensure-fonts.d.ts.map