/** * Copyright (c) TonTech. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * */ /** * Map a thrown error to an i18n key from the `defi.*` namespace. * Returns `null` when the error isn't a {@link DefiError} or the code isn't recognised — * callers should decide on their own fallback (usually a domain-specific key). */ export declare const mapDefiError: (error: unknown) => string | null; //# sourceMappingURL=map-defi-error.d.ts.map