import _m0 from "protobufjs/minimal"; import { TokenID } from "./basic_types"; import { CustomFee } from "./custom_fees"; export declare const protobufPackage = "proto"; /** * At consensus, updates a token type's fee schedule to the given list of custom fees. * * If the target token type has no fee_schedule_key, resolves to TOKEN_HAS_NO_FEE_SCHEDULE_KEY. * Otherwise this transaction must be signed to the fee_schedule_key, or the transaction will * resolve to INVALID_SIGNATURE. * * If the custom_fees list is empty, clears the fee schedule or resolves to * CUSTOM_SCHEDULE_ALREADY_HAS_NO_FEES if the fee schedule was already empty. */ export interface TokenFeeScheduleUpdateTransactionBody { /** The token whose fee schedule is to be updated */ tokenId: TokenID | undefined; /** The new custom fees to be assessed during a CryptoTransfer that transfers units of this token */ customFees: CustomFee[]; } export declare const TokenFeeScheduleUpdateTransactionBody: { encode(message: TokenFeeScheduleUpdateTransactionBody, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): TokenFeeScheduleUpdateTransactionBody; fromJSON(object: any): TokenFeeScheduleUpdateTransactionBody; toJSON(message: TokenFeeScheduleUpdateTransactionBody): unknown; create(base?: DeepPartial): TokenFeeScheduleUpdateTransactionBody; fromPartial(object: DeepPartial): TokenFeeScheduleUpdateTransactionBody; }; 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=token_fee_schedule_update.d.ts.map