import { CryptoRecords, NamingServiceName } from '../types/publicTypes'; import { UnsSupportedNetwork } from '../types'; declare type Providers = 'infura' | 'alchemy'; export declare function getLibAgent(): string; export declare function signedInfuraLink(infura: string, network?: string): string; export declare function signedLink(key: string, network?: UnsSupportedNetwork, provider?: Providers): string; export declare function hexToBytes(hexString: string): number[]; export declare function isNullAddress(key: string | null | undefined): key is undefined | null; export declare function constructRecords(keys: string[], values: undefined | (string | undefined)[] | CryptoRecords): CryptoRecords; export declare const findNamingServiceName: (domain: string) => Promise; export declare const EthereumNetworks: { readonly mainnet: 1; readonly sepolia: 11155111; readonly 'polygon-mainnet': 137; readonly 'polygon-amoy': 80002; readonly 'base-mainnet': 8453; readonly 'base-sepolia': 84532; }; export declare const EthereumNetworksInverted: Record; export declare const wrapResult: (func: () => T) => Promise>; export declare const unwrapResult: (wrappedResult: WrappedResult) => UnwrapPromise; export declare type WrappedResult = { result: UnwrapPromise; error: null; } | { result: null; error: Error; }; export declare type UnwrapPromise = T extends Promise ? U : T; export {};