export type ErrorFrame = {
    readonly column: number;
    readonly file: string;
    readonly fn?: string;
    readonly line: number;
};
export declare class Failure {
    readonly cause?: unknown;
    readonly message: string;
    readonly name: string;
    readonly trace: readonly ErrorFrame[];
    // #[effects(add: [mut])]
    constructor(message?: string, options?: {
        cause?: unknown;
        trace?: readonly ErrorFrame[];
    });
    // #[effects(add: [], unknown: [direct])]
    withFrame(frame: ErrorFrame): this;
}
// #[effects(add: [], unknown: [direct])]
export declare function normalizeThrown(value: unknown): Error;
