import { CustomError } from "@rarible/utils"; import type { BlockchainEnum, BlockchainLayer1Enum, L1BlockchainByBlockchain } from "../union/enum/index.js"; import type { Layer1ful } from "./common.js"; export type AbstractTransactionHash = Layer1ful & { __IS_TRANSACTION_HASH__: true; }; export type HashByBlockchain = { [K in BlockchainEnum]: AbstractTransactionHash; }; export type TransactionHash = HashByBlockchain[BlockchainEnum]; export declare class InvalidTransactionHashError extends CustomError { constructor(blockchain: T, value: string); }