import type { BrowserType, ConfigWithDefaults, Page, TargetWithDefaults } from './index.ts'; export interface CSSBlock { id: string; conditional: boolean; css: string; } export interface ExecuteParams { globalCSS?: string | Array; /** Path to the assets package */ assetsPackage?: string; /** Path to the static package */ staticPackage?: string; snapPayloads?: Array; pages?: Array; targetName?: string; /** * Total number of snapshots in the package. When provided for staticPackage * requests without explicit chunks, used to automatically determine the * optimal number of parallel chunks. */ estimatedSnapsCount?: number; /** * When true, the worker fails the snap if `waitForContent` or * `waitForSelector` times out instead of silently warning. */ failOnWaitForTimeout?: boolean; } export default class RemoteBrowserTarget { readonly chunks: number | undefined; readonly browserName: BrowserType; readonly viewport: string; readonly maxHeight: number | undefined; readonly otherOptions: Record; constructor(browserName: BrowserType, { viewport, chunks, maxHeight, ...otherOptions }: TargetWithDefaults); execute({ globalCSS, assetsPackage, staticPackage, snapPayloads, pages, targetName, estimatedSnapsCount, failOnWaitForTimeout, }: ExecuteParams, config: ConfigWithDefaults): Promise>; } //# sourceMappingURL=RemoteBrowserTarget.d.ts.map