import type { CliOptions } from 'vitest/node'; import type { TimeoutProfile } from './profiles.mts'; type StartedTimeoutRun = { testModules: readonly { ok: () => boolean; }[]; unhandledErrors: readonly unknown[]; }; export type OpenTimeoutRun = (input: { root: string; configFile: string; cli: CliOptions; }) => Promise<{ start: () => Promise; close: () => Promise; }>; export type TimeoutProfileRow = { profile: string; body: boolean; setupImport: boolean; setupCall: boolean; rejected: boolean; }; export declare function effectiveTimeoutGuardHref(moduleUrl?: string): string; export declare function runTimeoutProfile(profile: TimeoutProfile, input: { scratch: string; maxTimeoutMs: number; pluginName: string; open: OpenTimeoutRun; }): Promise; export {};