import type { CDPSession, Page } from "puppeteer-core"; /** Resolve init-script file paths against the session cwd, preserving non-files as inline JavaScript. */ export declare function resolveInitScriptSources(entries: readonly string[] | undefined, cwd: string): Promise; /** * Enable invalid-certificate navigation for the page through CDP. * * Chromium drops the override when the session that set it detaches, so the * returned session must stay attached for as long as the tab honors * `ignore_https_errors`; the tab worker detaches it on close. */ export declare function applyIgnoreHttpsErrors(page: Page): Promise;