import { CustomError } from "@rarible/utils"; import type { BlockchainEnum, BlockchainLayer1Enum, L1BlockchainByBlockchain, WithBlockchain, WithLayer1Blockchain } from "./domain.js"; export declare const withLayer1BlockchainRegExp: RegExp; export declare function isBlockchainSpecified(value: string): value is WithLayer1Blockchain; export declare function withLayer1Blockchain(blockchain: T, raw: B): WithLayer1Blockchain; export declare const withBlockchainRegExp: RegExp; export declare function isRealBlockchainSpecified(value: string): value is WithBlockchain; export declare function withBlockchain(blockchain: T, raw: Base): WithBlockchain; export declare function toLayerOneBlockchain(blockchain: T): L1BlockchainByBlockchain[T]; type InferBlockchainData> = T extends WithBlockchain ? [C, B] : never; export declare function parseBlockchain(value: T): InferBlockchainData; export declare function parseBlockchainSafe(value: T): InferBlockchainData | undefined; export declare class BlockchainParseError extends CustomError { constructor(value: string); } export {};