import { Any } from "cosmjs-types/google/protobuf/any"; import { Account, QueryClient } from "@cosmjs/stargate"; import { PageRequest } from "cosmjs-types/cosmos/base/query/v1beta1/pagination"; import { QueryIncomingDTagTransferRequestsResponse } from "@desmoslabs/desmjs-types/desmos/profiles/v3/query_dtag_requests"; import { QueryChainLinkOwnersResponse, QueryChainLinksResponse, QueryDefaultExternalAddressesResponse } from "@desmoslabs/desmjs-types/desmos/profiles/v3/query_chain_links"; import { QueryApplicationLinkByClientIDResponse, QueryApplicationLinkOwnersResponse, QueryApplicationLinksResponse } from "@desmoslabs/desmjs-types/desmos/profiles/v3/query_app_links"; import { Profile } from "@desmoslabs/desmjs-types/desmos/profiles/v3/models_profile"; import { QueryParamsResponse } from "@desmoslabs/desmjs-types/desmos/profiles/v3/query_params"; export interface ProfilesV3Extension { readonly profilesV3: { /** * Queries the profile of a specific user given their DTag or address. * If the queried user does not have a profile, the returned response will * contain null instead. */ readonly profile: (user: string) => Promise; /** * Queries all the DTag transfers requests that have been made towards the user with the given address. */ readonly incomingDTagTransferRequests: (address: string, pagination?: PageRequest) => Promise; /** * Queries chain links for the given user. */ readonly chainLinks: (user?: string, chainName?: string, target?: string, pagination?: PageRequest) => Promise; /** * Queries chain link owners for an optional chain name and user. * The specified target will be used only if a chain name is specified as well. */ readonly chainLinkOwners: (chainName?: string, target?: string, pagination?: PageRequest) => Promise; /** * Queries the default external addresses for an optional user and chain name. * The specified chain name will be used only if a user is specified as well. */ readonly defaultExternalAddresses: (user?: string, chainName?: string, pagination?: PageRequest) => Promise; /** * Queries a single application link for a given user, * searching via the application name and username. */ readonly applicationLinks: (user?: string, application?: string, username?: string, pagination?: PageRequest) => Promise; /** * Queries a single application link for a given * client id. */ readonly applicationLinkByClientID: (clientId: string) => Promise; /** * Queries the application link owners with an optional application and username. * The username will be used only if the application is specified as well. */ readonly applicationLinkOwners: (application?: string, username?: string, pagination?: PageRequest) => Promise; /** * Queries the module parameters. */ readonly params: () => Promise; }; } export declare function setupProfilesV3Extension(base: QueryClient): ProfilesV3Extension; export declare function profileFromAny(input: Any): Account;