import { ApiPromise } from "@polkadot/api"; import { AddressOrPair } from "@polkadot/api/types"; import { ProviderInterface } from "@polkadot/rpc-provider/types"; import { TypeRegistry } from "@polkadot/types"; import { RegistryTypes } from "@polkadot/types/types"; import { DefinitionRpc, DefinitionRpcSub } from "@polkadot/types/types"; import { PolkaBTCAPI } from "./polkabtc-api"; export declare function createProvider(endpoint: string, autoConnect?: number | false | undefined): ProviderInterface; export declare function createPolkadotAPI(endpoint: string, autoConnect?: number | false | undefined): Promise; export declare function createPolkabtcAPI(endpoint: string, network?: string, account?: AddressOrPair, autoConnect?: number | false | undefined): Promise; export declare function getAPITypes(): RegistryTypes; export declare function getRPCTypes(): Record>; export declare function createAPIRegistry(): TypeRegistry;