import { AllowanceKey, TokenAllowance } from "@gala-chain/api"; import BigNumber from "bignumber.js"; import { GalaChainContext } from "../types"; export interface AllowanceType { allowanceKey: AllowanceKey; uses: BigNumber; expires: number; } /** * @description * * Lookup existing `TokenAllowance` entries by composite key, and set the * expires timestamp and the uses property to new values. * * Used for extending the duration of existing allowances. Can also be used to * revoke existing allowances by setting uses to 0 or expires to a valid * non-zero timestamp in the past. * * @param ctx * @param allowances * @returns Promise */ export declare function refreshAllowances(ctx: GalaChainContext, allowances: AllowanceType[]): Promise; //# sourceMappingURL=refreshAllowances.d.ts.map