import { AllowanceType, TokenAllowance } from "@gala-chain/api"; import { GalaChainContext } from "../types"; export interface DeleteAllowancesParams { grantedTo: string; grantedBy?: string; collection?: string; category?: string; type?: string; additionalKey?: string; instance?: string; allowanceType?: AllowanceType; created?: number; } /** * @description * * Fetch all `TokenAllowance` chain objects that match the provided parameters, and * delete them from World State. * * Does not support paginated queries. * * @param ctx * @param params * @returns `Promise` */ export declare function deleteAllowances(ctx: GalaChainContext, params: DeleteAllowancesParams): Promise; /** * @description * * Delete a single allowance specified by all `@ChainKey` properties. * * Fails if the `authorizedOnBehalf` agrument is neither the grantedBy nor grantedTo identity. * * @param ctx * @param allowance * @param authorizedOnBehalf */ export declare function deleteOneAllowance(ctx: GalaChainContext, allowance: TokenAllowance, authorizedOnBehalf: string): Promise; //# sourceMappingURL=deleteAllowances.d.ts.map