UNPKG

histoire

Version:

A fast story book powered by Vite

10 lines • 751 B
import { getPlaywrightBrowserProcess } from './playwright-kill.js'; /** Confirmed browser ownership outcomes; unknown shutdown rejects. */ export type PlaywrightCleanupOutcome = 'graceful' | 'forced'; /** Signal owned process and require observed exit, including after concurrent close. */ export declare function terminatePlaywrightBrowser(browser: unknown, timeoutMs?: number, capturedProcess?: ReturnType<typeof getPlaywrightBrowserProcess>): Promise<'forced'>; /** Bound graceful close and confirm a signalled fallback really exited. */ export declare function closePlaywrightBrowser(browser: { close: () => unknown | Promise<unknown>; }, timeoutMs?: number): Promise<PlaywrightCleanupOutcome>; //# sourceMappingURL=playwright-cleanup.d.ts.map