import _m0 from "protobufjs/minimal"; import { AccountID, TokenID } from "./basic_types"; export declare const protobufPackage = "proto"; /** * Deletes one or more non-fungible approved allowances from an owner's account. This operation * will remove the allowances granted to one or more specific non-fungible token serial numbers. Each owner account * listed as wiping an allowance must sign the transaction. Hbar and fungible token allowances * can be removed by setting the amount to zero in CryptoApproveAllowance. */ export interface CryptoDeleteAllowanceTransactionBody { /** List of non-fungible token allowances to remove. */ nftAllowances: NftRemoveAllowance[]; } /** Nft allowances to be removed on an owner account */ export interface NftRemoveAllowance { /** The token that the allowance pertains to. */ tokenId: TokenID | undefined; /** The account ID of the token owner (ie. the grantor of the allowance). */ owner: AccountID | undefined; /** The list of serial numbers to remove allowances from. */ serialNumbers: number[]; } export declare const CryptoDeleteAllowanceTransactionBody: { encode(message: CryptoDeleteAllowanceTransactionBody, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): CryptoDeleteAllowanceTransactionBody; fromJSON(object: any): CryptoDeleteAllowanceTransactionBody; toJSON(message: CryptoDeleteAllowanceTransactionBody): unknown; create(base?: DeepPartial): CryptoDeleteAllowanceTransactionBody; fromPartial(object: DeepPartial): CryptoDeleteAllowanceTransactionBody; }; export declare const NftRemoveAllowance: { encode(message: NftRemoveAllowance, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): NftRemoveAllowance; fromJSON(object: any): NftRemoveAllowance; toJSON(message: NftRemoveAllowance): unknown; create(base?: DeepPartial): NftRemoveAllowance; fromPartial(object: DeepPartial): NftRemoveAllowance; }; type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined; export type DeepPartial = T extends Builtin ? T : T extends Array ? Array> : T extends ReadonlyArray ? ReadonlyArray> : T extends { $case: string; } ? { [K in keyof Omit]?: DeepPartial; } & { $case: T["$case"]; } : T extends {} ? { [K in keyof T]?: DeepPartial; } : Partial; export {}; //# sourceMappingURL=crypto_delete_allowance.d.ts.map