export declare class CaptureStepTimeoutError extends Error { readonly timeoutMs: number; readonly stepLabel: string; constructor(stepLabel: string, timeoutMs: number); } export declare function isCaptureStepTimeoutError(error: unknown): error is CaptureStepTimeoutError; export declare function withCaptureStepTimeout(work: () => Promise, params: { stepLabel: string; timeoutMs: number; }): Promise;