import { JsonRpcError } from '@metamask/rpc-errors'; /** * CAIP25 Errors. */ export declare const Caip25Errors: { /** * Thrown when chains requested in a CAIP-25 `wallet_createSession` call are not supported by the wallet. * Defined in [CAIP-25 error codes section](https://github.com/ChainAgnostic/CAIPs/blob/main/CAIPs/caip-25.md#trusted-failure-codes). * * @returns A new JsonRpcError instance. */ requestedChainsNotSupportedError: () => JsonRpcError; /** * Thrown when methods requested in a CAIP-25 `wallet_createSession` call are not supported by the wallet. * Defined in [CAIP-25 error codes section](https://github.com/ChainAgnostic/CAIPs/blob/main/CAIPs/caip-25.md#trusted-failure-codes). * TODO: consider throwing the more generic version of this error (UNKNOWN_METHODS_REQUESTED_ERROR) unless in a DevMode build of the wallet * * @returns A new JsonRpcError instance. */ requestedMethodsNotSupportedError: () => JsonRpcError; /** * Thrown when notifications requested in a CAIP-25 `wallet_createSession` call are not supported by the wallet. * Defined in [CAIP-25 error codes section](https://github.com/ChainAgnostic/CAIPs/blob/main/CAIPs/caip-25.md#trusted-failure-codes). * TODO: consider throwing the more generic version of this error (UNKNOWN_NOTIFICATIONS_REQUESTED_ERROR) unless in a DevMode build of the wallet * * @returns A new JsonRpcError instance. */ requestedNotificationsNotSupportedError: () => JsonRpcError; /** * Thrown when methods requested in a CAIP-25 `wallet_createSession` call are not supported by the wallet. * Defined in [CAIP-25 error codes section](https://github.com/ChainAgnostic/CAIPs/blob/main/CAIPs/caip-25.md#trusted-failure-codes). * * @returns A new JsonRpcError instance. */ unknownMethodsRequestedError: () => JsonRpcError; /** * Thrown when notifications requested in a CAIP-25 `wallet_createSession` call are not supported by the wallet. * Defined in [CAIP-25 error codes section](https://github.com/ChainAgnostic/CAIPs/blob/main/CAIPs/caip-25.md#trusted-failure-codes). * * @returns A new JsonRpcError instance. */ unknownNotificationsRequestedError: () => JsonRpcError; }; //# sourceMappingURL=errors.d.ts.map