import type { IDL } from "@dfinity/candid"; import type { ActorSubclass } from "@dfinity/agent"; import type { IConnector, IWalletConnector } from "./connectors"; import { Result } from "neverthrow"; import { BalanceError, ConnectError, CreateActorError, DisconnectError, InitError, TransferError } from "./connectors"; import { DelegationMode } from "@astrox/sdk-web/build/types"; declare class AstroX implements IConnector, IWalletConnector { #private; meta: { features: string[]; icon: { light: any; dark: any; }; id: string; name: string; }; get principal(): string | undefined; get wallets(): { principal: string; accountId: string; }[]; constructor(userConfig?: {}); set config(config: { whitelist: string[]; providerUrl: string; ledgerCanisterId: string; ledgerHost?: string | undefined; noUnify?: boolean | undefined; host: string; dev: boolean; delegationModes?: DelegationMode[] | undefined; customDomain?: string | undefined; }); get config(): { whitelist: string[]; providerUrl: string; ledgerCanisterId: string; ledgerHost?: string | undefined; noUnify?: boolean | undefined; host: string; dev: boolean; delegationModes?: DelegationMode[] | undefined; customDomain?: string | undefined; }; init(): Promise | import("neverthrow").Err>; isConnected(): Promise; createActor(canisterId: string, idlFactory: IDL.InterfaceFactory): Promise, { kind: CreateActorError; }>>; connect(): Promise | import("neverthrow").Err>; disconnect(): Promise | import("neverthrow").Err>; requestTransfer(opts: { amount: number; to: string; symbol?: string; standard?: string; decimals?: number; fee?: number; memo?: bigint | Array; createdAtTime?: Date; fromSubAccount?: number; }): Promise | import("neverthrow").Ok<{ height: number; }, never>>; requestTransferNFT(args: { tokenIdentifier: string; tokenIndex: number; canisterId: string; to: string; standard: string; fee?: number; memo?: bigint | Array; createdAtTime?: Date; fromSubAccount?: number; }): Promise | import("neverthrow").Ok<{ blockHeight?: bigint | undefined; originPayload?: { to: string; amount: bigint; sendOpts?: Partial | undefined; } | undefined; }, never>>; queryBalance(): Promise | import("neverthrow").Err>; } export { AstroX, };