import { Network } from '@opcat-labs/opcat'; import { SupportedNetwork } from './globalTypes.js'; /** * Converts a Network object to a SupportedNetwork string. * * @param network - The network configuration to check * @returns The corresponding supported network name ('opcat-mainnet', 'opcat-testnet', or 'opcat-regtest') * @throws {Error} If the network configuration is not supported */ export declare const toSupportedNetwork: (network: Network) => SupportedNetwork; /** * Converts a supported network string into its corresponding Network object. * @param network - The supported network identifier ('opcat-mainnet', 'opcat-testnet', or 'opcat-regtest') * @returns The corresponding Network object * @throws {Error} When an unsupported network configuration is provided */ export declare const fromSupportedNetwork: (network: SupportedNetwork) => Network; //# sourceMappingURL=networks.d.ts.map