import { ICNSFavorite, ICNSRegistrar, ICNSRegistry, ICNSResolver, ICNSReverseRegistrar, ICNSToken } from "../../declarations/did/models"; import { ActorAdapter } from './adapter'; /** * Options for creating an CanisterActor. * @param {string} canisterId Canister ID, default is applied * @param {ActorAdapter} actorAdapter ActorAdapter instance with or without a provider, default is applied * @internal */ export interface CreateCanisterActorOptions { canisterId?: string; actorAdapter?: ActorAdapter; } /** * Type of RegistrarActor. * @internal */ export declare type RegistrarActor = ActorAdapter.Actor; /** * Creates a Registrar canister actor. * If no option is provided, the actor will be created using the default canister options. * @param {CreateCanisterActorOptions} options Options for creating the RegistrarActor * @returns {RegistrarActor} actor instance * @internal */ export declare const createRegistrarActor: ({ canisterId, actorAdapter, }?: CreateCanisterActorOptions) => Promise; /** * Type of RegistryActor. * @internal */ export declare type RegistryActor = ActorAdapter.Actor; /** * Creates a Registry canister actor. * If no option is provided, the actor will be created using the default canister options. * @internal * @param {CreateCanisterActorOptions} options Options for creating the RegistryActor * @returns {RegistryActor} actor instance */ export declare const createRegistryActor: ({ canisterId, actorAdapter, }?: CreateCanisterActorOptions) => Promise; /** * Type of ResolverActor. * @internal */ export declare type ResolverActor = ActorAdapter.Actor; /** * Creates a Resolver canister actor. * If no option is provided, the actor will be created using the default canister options. * @param {CreateCanisterActorOptions} options Options for creating the ResolverActor * @returns {ResolverActor} actor instance * @internal */ export declare const createResolverActor: ({ canisterId, actorAdapter, }?: CreateCanisterActorOptions) => Promise; /** * Type of ReverseActor. * @internal */ export declare type ReverseActor = ActorAdapter.Actor; /** * Creates a Reverse canister actor. * If no option is provided, the actor will be created using the default canister options. * @internal * @param {CreateCanisterActorOptions} options Options for creating the ReverseActor * @returns {ReverseActor} actor instance */ export declare const createReverseActor: ({ canisterId, actorAdapter, }?: CreateCanisterActorOptions) => Promise; /** * Type of FavoriteActor. * @internal */ export declare type FavoriteActor = ActorAdapter.Actor; /** * Creates a Favorite canister actor. * If no option is provided, the actor will be created using the default canister options. * @param {CreateCanisterActorOptions} options Options for creating the FavoriteActor * @returns {FavoriteActor} actor instance * @internal */ export declare const createFavoriteActor: ({ canisterId, actorAdapter, }?: CreateCanisterActorOptions) => Promise; /** * Type of WICPActor. * @internal */ export declare type TokenActor = ActorAdapter.Actor; /** * Creates a DIP20 Token canister actor. * If no option is provided, the actor will be created using the default canister options. * @param {CreateCanisterActorOptions} options Options for creating the TokenActor * @returns {TokenActor} actor instance * @internal */ export declare const createTokenActor: ({ canisterId, actorAdapter, }: CreateCanisterActorOptions) => Promise;