import _m0 from "protobufjs/minimal"; import { AccountID, Key, TopicID } from "./basic_types"; import { Duration } from "./duration"; import { Timestamp } from "./timestamp"; export declare const protobufPackage = "proto"; /** * All fields left null will not be updated. * See [ConsensusService.updateTopic()](#proto.ConsensusService) */ export interface ConsensusUpdateTopicTransactionBody { /** UNDOCUMENTED */ topicID: TopicID | undefined; /** If set, the new memo to be associated with the topic (UTF-8 encoding max 100 bytes) */ memo: string | undefined; /** * Effective consensus timestamp at (and after) which all consensus transactions and queries will fail. * The expirationTime may be no longer than MAX_AUTORENEW_PERIOD (8000001 seconds) from the consensus timestamp of * this transaction. * On topics with no adminKey, extending the expirationTime is the only updateTopic option allowed on the topic. * If unspecified, no change. */ expirationTime: Timestamp | undefined; /** * Access control for update/delete of the topic. * If unspecified, no change. * If empty keyList - the adminKey is cleared. */ adminKey: Key | undefined; /** * Access control for ConsensusService.submitMessage. * If unspecified, no change. * If empty keyList - the submitKey is cleared. */ submitKey: Key | undefined; /** * The amount of time to extend the topic's lifetime automatically at expirationTime if the autoRenewAccount is * configured and has funds (once autoRenew functionality is supported by HAPI). * Limited to between MIN_AUTORENEW_PERIOD (6999999 seconds) and MAX_AUTORENEW_PERIOD (8000001 seconds) by * servers-side configuration (which may change). * If unspecified, no change. */ autoRenewPeriod: Duration | undefined; /** * Optional account to be used at the topic's expirationTime to extend the life of the topic. * Once autoRenew functionality is supported by HAPI, the topic lifetime will be extended up to a maximum of the * autoRenewPeriod or however long the topic can be extended using all funds on the account (whichever is the * smaller duration/amount). * If specified as the default value (0.0.0), the autoRenewAccount will be removed. * If unspecified, no change. */ autoRenewAccount: AccountID | undefined; } export declare const ConsensusUpdateTopicTransactionBody: { encode(message: ConsensusUpdateTopicTransactionBody, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): ConsensusUpdateTopicTransactionBody; fromJSON(object: any): ConsensusUpdateTopicTransactionBody; toJSON(message: ConsensusUpdateTopicTransactionBody): unknown; create(base?: DeepPartial): ConsensusUpdateTopicTransactionBody; fromPartial(object: DeepPartial): ConsensusUpdateTopicTransactionBody; }; 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=consensus_update_topic.d.ts.map