import { TemporalFailure } from '@temporalio/common'; /** * Walks nested `cause` chains and AggregateError `errors` arrays to find the * first TemporalFailure. Cycle-safe via visited set. */ export declare function unwrapTemporalFailure(error: unknown): TemporalFailure | undefined;