import { type PlaywrightTestConfig } from "@playwright/test"; export interface GuidesConfigOptions { /** Vite port. Pick one clear of the product's dev servers and sibling sessions. */ port: number; /** Absolute path to the repo-level docs/generated dir. Exported as NORSK_DOCS_ROOT. */ docsRoot: string; /** Capture viewport. Default 1440x960. */ viewport?: { width: number; height: number; }; /** Pixel density of the captures. Default 2 in a DOCS_GENERATE run, 1 * otherwise (see captureScaleFactor): crops shot at 1x are soft in a video frame. */ deviceScaleFactor?: number; /** webServer command. Default `bunx vite --port --strictPort --host 127.0.0.1`. */ command?: string; /** Playwright testDir. Default "./tests/guides". */ testDir?: string; /** Per-test timeout in ms. Default 60_000. */ timeout?: number; /** Spoken-word budget for one step's text in a DOCS_GENERATE run (see * DocGuide). Exported as NORSK_DOCS_CAPTION_WORDS. Default: the dev-kit's 50. */ captionWords?: number; } export declare function guidesConfig(opts: GuidesConfigOptions): PlaywrightTestConfig;