import { Account, Namespace } from '../../internal'; import { SubCallback, SubsidyWithAllowance, UnsubCallback } from '../../types'; /** * Handles all Account Subsidies related functionality */ export declare class Subsidies extends Namespace { /** * Get the list of Subsidy relationship along with their subsidized amount for which this Account is the subsidizer */ getBeneficiaries(): Promise; /** * Get the Subsidy relationship along with the subsidized amount for this Account is the beneficiary. * * @returns the Subsidy relationship, or null if this Account isn't being subsidized */ getSubsidizer(): Promise; /** * Get the Subsidy relationship along with the subsidized amount for this Account is the beneficiary. * * @param callback - Callback function that can be used to listen for changes to the subsidy relationship * * @note can be subscribed to, if connected to node using a web socket * @returns the Subsidy relationship, or null if this Account isn't being subsidized */ getSubsidizer(callback: SubCallback): Promise; /** * Get pending subsidies (for which this Account is the beneficiary) that have been authorised but not yet accepted. */ getPendingSubsidies(): Promise; } //# sourceMappingURL=Subsidies.d.ts.map