import { type AttemptResult } from './attempt-result.mts'; import type { StorybookBrowserDiagnostics } from './diagnostics.mts'; import { type StorybookBrowserRunnerOptions } from './options.mts'; import type { ResolvedStorybookBrowserProject, StorybookBrowserRunnerDeps } from './types.mts'; export type RunAttemptInput = { deps: StorybookBrowserRunnerDeps; diagnostics: StorybookBrowserDiagnostics; env: NodeJS.ProcessEnv; options: StorybookBrowserRunnerOptions; project: ResolvedStorybookBrowserProject; sessionDeadlineAt: number; }; /** Runs the test command once under `runBrowserSession` and classifies how it ended. */ export declare function runUpstreamAttempt(input: RunAttemptInput): Promise;