import { CustomError } from "@rarible/utils"; import type { BlockchainEnum, BlockchainLayer1Enum, L1BlockchainByBlockchain } from "../union/enum/domain.js"; import type { Layer1ful } from "./common.js"; export type AbstractAddress = Layer1ful & { __IS_ADDRESS__: true; }; export type AddressByBlockchain = { [K in BlockchainEnum]: AbstractAddress; }; export type BlockchainAddress = AddressByBlockchain[BlockchainLayer1Enum]; export declare class InvalidAddressError extends CustomError { constructor(blockchain: T, value: string); }