import type { TxError } from "./types.js"; type TaggedErrorShape = { _tag: string; message: string; address?: string; calldata?: string; functionName?: string; sender?: string; value?: string; cause?: unknown; }; declare function hasTaggedErrorShape(error: unknown): error is TaggedErrorShape; export declare function extractErrorData(error: unknown, fallbackMessage?: string): TxError; export { hasTaggedErrorShape }; export type { TaggedErrorShape }; //# sourceMappingURL=extract.d.ts.map