/** * Interface defining the parameters needed to set the JustaName resolver. * * @typedef UseSetNameHashJustaNameResolver * @type {object} * @property {function} setNameHashJustaNameResolver - The function to set the JustaName resolver. * @property {boolean} NameHashJustaNameResolverSet - Indicates if the JustaName resolver is set. * @property {boolean} isSetNameHashJustaNameResolverPending - Indicates if the mutation is currently pending. * @property {boolean} setNameHashJustaNameResolverError - Indicates if the mutation has led to an error. */ export interface UseSetNameHashJustaNameResolver { setNameHashJustaNameResolver: () => Promise; NameHashJustaNameResolverSet: boolean; isSetNameHashJustaNameResolverPending: boolean; setNameHashJustaNameResolverError: boolean; } /** * Interface defining the optional parameters for the hook. * * @typedef UseSetNameHashJustaNameResolverParams * @type {object} * @property {number} [chainId] - Optional chain ID to use instead of the one from mounted account. * @property {string} [address] - Optional address to use instead of the one from mounted account. */ export interface UseSetNameHashJustaNameResolverParams { chainId?: number; address?: string; } /** * Custom hook for performing a mutation to set the JustaName resolver. * * @template T - The type of additional parameters that can be passed to the set JustaName resolver mutation, extending the base request. * @param {UseSetNameHashJustaNameResolverParams} [params] - Optional parameters containing chainId and address to override mounted account values. * @returns {UseSetNameHashJustaNameResolver} An object containing the `setNameHashJustaNameResolver` async function to initiate the JustaName resolve,a boolean `NameHashJustaNameResolverSet` indicating if the resolver is set,a boolean `setNameHashJustaNameResolverPending` indicating the state of the process, and a boolean `setNameHashJustaNameResolverError` indicating if an error has occured. */ export declare const useSetNameHashJustaNameResolver: (params?: UseSetNameHashJustaNameResolverParams) => UseSetNameHashJustaNameResolver; //# sourceMappingURL=useSetNameHashJustaNameResolver.d.ts.map