import { InstrumentedFunctionResult, ScreenplayPage } from './interfaces';
export interface StartTestParams {
    fullName: string;
    fullSuitePath: string;
    description: string;
    projectRoot: string;
    runId: string;
}
export interface AttachParams<TPage extends ScreenplayPage> {
    startTestParams?: StartTestParams;
    page: TPage;
}
export interface AttachReturn<TPage extends ScreenplayPage> {
    page: TPage;
    endTest: EndTestFunction;
}
export declare type TestEndStatus<T, E> = InstrumentedFunctionResult<T, E>;
export declare type EndTestFunction = (endStatus: TestEndStatus<unknown, unknown>) => Promise<void>;
