import * as wasm from '../wasm.js'; import type { EvoSDK } from '../sdk.js'; export declare class DpnsFacade { private sdk; constructor(sdk: EvoSDK); convertToHomographSafe(input: string): Promise; isValidUsername(label: string): Promise; isContestedUsername(label: string): Promise; isNameAvailable(label: string): Promise; resolveName(name: string): Promise; /** * Registers a DPNS name. A contested name joins a contest: pass * `options.contestFund` as the most, in credits, the registration pays into * it, or leave it out to state the fund to join read just before the domain * is submitted. */ registerName(options: wasm.DpnsRegisterNameOptions): Promise; usernames(query: wasm.DpnsUsernamesQuery): Promise; username(identityId: wasm.IdentifierLike): Promise; usernamesWithProof(query: wasm.DpnsUsernamesQuery): Promise>>; usernameWithProof(identityId: wasm.IdentifierLike): Promise>; getUsernameByName(username: string): Promise; getUsernameByNameWithProof(username: string): Promise>; }