import type { CLIArgs } from '@japa/runner/types'; import type { PluginConfig } from '../types/main.js'; /** * Default configuration for assertions added to the page object. * These control the retry behavior for all assertion methods. */ export declare const DEFAULT_ASSERTIONS_CONFIG: Required>; /** * Normalizes and merges the user-defined config with CLI arguments * and default values. * * @param cliArgs - CLI arguments from Japa test runner * @param config - User-provided plugin configuration * * @example * ```ts * // With CLI args: --trace=onError --browser=firefox * const normalized = normalizeConfig(cliArgs, userConfig) * // Tracing will be enabled with event 'onError' * // Firefox will be used as the browser * ``` */ export declare function normalizeConfig(cliArgs: CLIArgs, config: PluginConfig): { launcher: (config: Pick) => Promise; tracing?: { enabled: boolean; event: "onError" | "onTest"; cleanOutputDirectory: boolean; outputDirectory: string; }; contextOptions?: import("playwright").BrowserContextOptions; assertions?: { timeout?: number; pollIntervals?: number[]; }; runInSuites?: string[]; };