import type { WalletExecutionErrorCode } from '@funkit/connect-core'; import type { TFunction } from 'i18next'; /** * What the user reads for a failure core classified. Web's copy, per cause. * * A cause core could name gets that copy: it is translated and says what to do, * which no provider string does. Everything else falls back to the error's own * text — "please try again" is the one message that helps nobody, and the * failures that land here are the ones neither we nor the user can otherwise * diagnose. Truncated, since a relay error can run to paragraphs. */ export declare function executionErrorMessage(t: TFunction, code: WalletExecutionErrorCode, message?: string): string; //# sourceMappingURL=executionErrorMessage.d.ts.map