/** * This file contains the underlying implementations for exposed API surface in * the {@link api/staking}. By moving the methods out into a separate file, * other namespaces and processes can access these methods without depending on the entire * staking namespace and without having a dependency cycle error. * @group Implementation */ import { AptosConfig } from "../api/aptosConfig.js"; import { AccountAddressInput } from "../core/index.js"; import { GetDelegatedStakingActivitiesResponse, GetNumberOfDelegatorsResponse, OrderByArg } from "../types/index.js"; /** * Retrieves the number of active delegators for a specified pool address. * * @param args - The arguments for the function. * @param args.aptosConfig - The configuration object for Aptos. * @param args.poolAddress - The address of the pool for which to retrieve the number of delegators. * @returns The number of active delegators for the specified pool address. * @group Implementation */ export declare function getNumberOfDelegators(args: { aptosConfig: AptosConfig; poolAddress: AccountAddressInput; }): Promise; /** * Retrieves the number of active delegators for all pools. * * @param args - The arguments for the function. * @param args.aptosConfig - The configuration for the Aptos client. * @param [args.options] - Optional parameters for ordering the results. * @param args.options.orderBy - Specifies the order in which to return the results. * @returns The number of active delegators per pool. * @group Implementation */ export declare function getNumberOfDelegatorsForAllPools(args: { aptosConfig: AptosConfig; options?: OrderByArg; }): Promise; /** * Retrieves the delegated staking activities for a specified delegator and pool. * * @param args - The parameters for the query. * @param args.aptosConfig - The configuration object for Aptos. * @param args.delegatorAddress - The address of the delegator whose activities are being queried. * @param args.poolAddress - The address of the pool associated with the delegated staking activities. * @returns The delegated staking activities for the specified delegator and pool. * @group Implementation */ export declare function getDelegatedStakingActivities(args: { aptosConfig: AptosConfig; delegatorAddress: AccountAddressInput; poolAddress: AccountAddressInput; }): Promise; //# sourceMappingURL=staking.d.ts.map