import _m0 from "protobufjs/minimal"; import { FileID } from "./basic_types"; import { FreezeType } from "./freeze_type"; import { Timestamp } from "./timestamp"; export declare const protobufPackage = "proto"; /** * At consensus, sets the consensus time at which the platform should stop creating events and * accepting transactions, and enter a maintenance window. */ export interface FreezeTransactionBody { /** * !! DEPRECATED and REJECTED by nodes * The start hour (in UTC time), a value between 0 and 23 * * @deprecated */ startHour: number; /** * !! DEPRECATED and REJECTED by nodes * The start minute (in UTC time), a value between 0 and 59 * * @deprecated */ startMin: number; /** * !! DEPRECATED and REJECTED by nodes * The end hour (in UTC time), a value between 0 and 23 * * @deprecated */ endHour: number; /** * !! DEPRECATED and REJECTED by nodes * The end minute (in UTC time), a value between 0 and 59 * * @deprecated */ endMin: number; /** * If set, the file whose contents should be used for a network software update during the * maintenance window. */ updateFile: FileID | undefined; /** If set, the expected hash of the contents of the update file (used to verify the update). */ fileHash: Uint8Array; /** The consensus time at which the maintenance window should begin. */ startTime: Timestamp | undefined; /** The type of network freeze or upgrade operation to perform. */ freezeType: FreezeType; } export declare const FreezeTransactionBody: { encode(message: FreezeTransactionBody, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): FreezeTransactionBody; fromJSON(object: any): FreezeTransactionBody; toJSON(message: FreezeTransactionBody): unknown; create(base?: DeepPartial): FreezeTransactionBody; fromPartial(object: DeepPartial): FreezeTransactionBody; }; 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=freeze.d.ts.map