import { type SpawnSyncOptions } from 'node:child_process'; import { type IFeatureExecutionOptions, type IWithFeatureOptions } from './with-feature.js'; export interface IWithLocalFixtureOptions extends IWithFeatureOptions { fixturePath?: string; } /** * @deprecated use `withFeature` with fixturePath instead. * * Similar to `withFeature`, but creates a temp directory * and optionally copies a fixture to it as a "project". */ export declare function withLocalFixture(fullSuiteOptions: IWithLocalFixtureOptions): { getLoadedFeature: (testOptions?: IWithLocalFixtureOptions) => Promise<{ projectPath: string; spawn: (command: string, args?: string[], spawnOptions?: SpawnSyncOptions) => import("child_process").SpawnSyncReturns>; loadFeature: (options?: IFeatureExecutionOptions) => Promise<{ page: import("playwright-core").Page; response: import("playwright-core").Response | null; getMetrics: () => Promise<{ marks: PerformanceEntry[]; measures: PerformanceEntry[]; }>; }>; }>; }; //# sourceMappingURL=with-local-fixture.d.ts.map