import type { Page } from 'playwright'; import { type PlacementsBake } from './source'; /** Bounded localhost-only asset capture; closes its browser and listener even when capture or encoding fails. */ export declare function withPlacementsCapture(directory: string, input: PlacementsBake, script: string, capture: (page: Page) => Promise): Promise;