import type { CheqdSDK, DIDDocument } from '@cheqd/sdk'; import { MsgCreateResourcePayload } from '@cheqd/ts-proto/cheqd/resource/v2/index.js'; import { SignInfo } from '@cheqd/ts-proto/cheqd/did/v2/index.js'; import { IOptions } from '../types/types.js'; export declare enum DefaultRPCUrl { Mainnet = "https://rpc.cheqd.net", Testnet = "https://rpc.cheqd.network" } export declare enum NetworkType { Mainnet = "mainnet", Testnet = "testnet" } export declare enum DefaultResolverUrl { Cheqd = "https://resolver.cheqd.net" } declare class EndpointHealthManager { private readonly checkIntervalMs; private timer?; private networkToHealth; initAndStart(): Promise; stop(): void; isEnabled(): boolean; getPreferredUrl(network: NetworkType): string; checkAll(): Promise; private checkNetwork; private checkUrl; private hasHealthyEndpointFor; private logHealthyEndpoints; } export declare const endpointHealthManager: EndpointHealthManager; export declare class CheqdRegistrar { private sdk?; private fee?; private currentNetwork?; static instance: CheqdRegistrar; connect(options: IOptions): Promise; private getSignerAddress; forceGetSdk(): CheqdSDK; create(signInputs: SignInfo[], didPayload: DIDDocument, versionId: string | undefined): Promise; update(signInputs: SignInfo[], didPayload: DIDDocument, versionId: string | undefined): Promise; deactivate(signInputs: SignInfo[], didPayload: DIDDocument, versionId: string | undefined): Promise; createResource(signInputs: SignInfo[], resourcePayload: Partial): Promise; } export declare function CheqdResolver(id: string): Promise; export {}; //# sourceMappingURL=cheqd.d.ts.map