import type { TsProtoGeneratedType } from "@cosmjs/proto-signing"; export declare type PickType = Pick>; export declare type ProtoPackageAndMessages = { protobufPackage: T["protobufPackage"]; } & PickType; export declare type EncodeObjectRecord> = { [P in keyof PickType]: { typeUrl: P extends string ? `/${T["protobufPackage"]}.${P}` : void; value: T[P] extends TsProtoGeneratedType ? ReturnType : void; }; }; export declare type Rpc = { request(service: string, method: string, data: Uint8Array): Promise; }; export declare type StringLiteral = T extends string ? (string extends T ? never : T) : never;