// package: flow.entities // file: flow/entities/block_header.proto import * as jspb from "@blocto/google-protobuf"; import * as google_protobuf_timestamp_pb from "@blocto/google-protobuf/google/protobuf/timestamp_pb"; export class BlockHeader extends jspb.Message { getId(): Uint8Array | string; getId_asU8(): Uint8Array; getId_asB64(): string; setId(value: Uint8Array | string): void; getParentId(): Uint8Array | string; getParentId_asU8(): Uint8Array; getParentId_asB64(): string; setParentId(value: Uint8Array | string): void; getHeight(): number; setHeight(value: number): void; hasTimestamp(): boolean; clearTimestamp(): void; getTimestamp(): google_protobuf_timestamp_pb.Timestamp | undefined; setTimestamp(value?: google_protobuf_timestamp_pb.Timestamp): void; serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): BlockHeader.AsObject; static toObject(includeInstance: boolean, msg: BlockHeader): BlockHeader.AsObject; static extensions: {[key: number]: jspb.ExtensionFieldInfo}; static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; static serializeBinaryToWriter(message: BlockHeader, writer: jspb.BinaryWriter): void; static deserializeBinary(bytes: Uint8Array): BlockHeader; static deserializeBinaryFromReader(message: BlockHeader, reader: jspb.BinaryReader): BlockHeader; } export namespace BlockHeader { export type AsObject = { id: Uint8Array | string, parentId: Uint8Array | string, height: number, timestamp?: google_protobuf_timestamp_pb.Timestamp.AsObject, } }