import { Cause } from "@effect/core/io/Cause/definition";
import { Either } from "@tsplus/stdlib/data/Either/definition";
import { Tuple } from "@tsplus/stdlib/data/Tuple/definition";
import { Trace } from "@effect/core/io/Trace/definition";
/**
 * Retrieve the first checked error and its trace on the `Left` if available,
 * if there are no checked errors return the rest of the `Cause` that is known
 * to contain only `Die` or `Interrupt` causes.
 * @tsplus getter ets/Cause failureTraceOrCause
 * @tsplus location "@effect/core/io/Cause/operations/failureTraceOrCause"
 */
export declare function failureTraceOrCause<E>(self: Cause<E>): Either<Tuple<[E, Trace]>, Cause<never>>;
//# sourceMappingURL=failureTraceOrCause.d.ts.map