import { AllowanceType, FullAllowanceCheckResDto, UserAlias } from "@gala-chain/api"; import { GalaChainContext } from "../types"; export interface FullAllowanceCheckParams { owner: UserAlias; grantedTo: UserAlias; allowanceType: AllowanceType; collection?: string; category?: string; type?: string; additionalKey?: string; } /** * @description * * Convenience method to efficiently determine if the `grantedTo` identity * has useable allowances for all of the owner's tokens that match the * provided query paraemters. * * Using the provided `TokenClassKey` parameters (collection, category, type, additionalKey) * this method will query all the owners matching balances, and iterate through each * NFT instance ensuring that the allowance of specified `AllowanceType` exists and is validly * useable by the `grantedTo` identity. * * In the event one or more token instances has an expired, fully used, or otherwise missing * allowance, its details will be returned in the response. * * @param ctx * @param data * @returns Promise */ export declare function fullAllowanceCheck(ctx: GalaChainContext, data: FullAllowanceCheckParams): Promise; //# sourceMappingURL=fullAllowanceCheck.d.ts.map