import { ActorSubclass } from "@dfinity/agent"; import type { IConnector } from "./connectors"; import { IDL } from "@dfinity/candid"; import { ConnectError, CreateActorError, DisconnectError, InitError } from "./connectors"; declare class NFID implements IConnector { #private; meta: { features: never[]; icon: { light: any; dark: any; }; id: string; name: string; }; get identity(): any; get principal(): string | undefined; get client(): any; constructor(userConfig?: {}); set config(config: { whitelist: string[]; appName: string; host: string; providerUrl: string; dev: Boolean; }); get config(): { whitelist: string[]; appName: string; host: string; providerUrl: string; dev: Boolean; }; init(): Promise | import("neverthrow").Err>; isConnected(): Promise; createActor(canisterId: string, idlFactory: IDL.InterfaceFactory): Promise | import("neverthrow").Ok, never>>; connect(): Promise | import("neverthrow").Err>; disconnect(): Promise | import("neverthrow").Err>; } export { NFID, };