import type { Page } from "playwright-core"; import type { UrlArchiveFormat } from "../../config/schema.js"; /** * Result of archive creation. */ export interface ArchiveResult { data: string; extension: string; } /** * Create an archive of the current page in the specified format. * * @param page - Playwright page * @param format - "mhtml" (CDP snapshot) or "html" (page source) * @returns Archive data and file extension */ export declare function createArchive(page: Page, format: UrlArchiveFormat): Promise; //# sourceMappingURL=url-archive.d.ts.map