import _m0 from "protobufjs/minimal"; import { TopicID } from "./basic_types"; import { ConsensusTopicInfo } from "./consensus_topic_info"; import { QueryHeader } from "./query_header"; import { ResponseHeader } from "./response_header"; export declare const protobufPackage = "proto"; /** See [ConsensusService.getTopicInfo()](#proto.ConsensusService) */ export interface ConsensusGetTopicInfoQuery { /** * Standard info sent from client to node, including the signed payment, and what kind of response is requested * (cost, state proof, both, or neither). */ header: QueryHeader | undefined; /** The Topic for which information is being requested */ topicID: TopicID | undefined; } /** Retrieve the parameters of and state of a consensus topic. */ export interface ConsensusGetTopicInfoResponse { /** Standard response from node to client, including the requested fields: cost, or state proof, or both, or neither. */ header: ResponseHeader | undefined; /** Topic identifier. */ topicID: TopicID | undefined; /** Current state of the topic */ topicInfo: ConsensusTopicInfo | undefined; } export declare const ConsensusGetTopicInfoQuery: { encode(message: ConsensusGetTopicInfoQuery, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): ConsensusGetTopicInfoQuery; fromJSON(object: any): ConsensusGetTopicInfoQuery; toJSON(message: ConsensusGetTopicInfoQuery): unknown; create(base?: DeepPartial): ConsensusGetTopicInfoQuery; fromPartial(object: DeepPartial): ConsensusGetTopicInfoQuery; }; export declare const ConsensusGetTopicInfoResponse: { encode(message: ConsensusGetTopicInfoResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): ConsensusGetTopicInfoResponse; fromJSON(object: any): ConsensusGetTopicInfoResponse; toJSON(message: ConsensusGetTopicInfoResponse): unknown; create(base?: DeepPartial): ConsensusGetTopicInfoResponse; fromPartial(object: DeepPartial): ConsensusGetTopicInfoResponse; }; 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_get_topic_info.d.ts.map