import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire"; import { Empty } from "./google/protobuf/empty"; export declare const protobufPackage = ""; export interface Subscriptions { /** subject -> topic mapping */ subscriptions: { [key: string]: string; }; } export interface Subscriptions_SubscriptionsEntry { key: string; value: string; } export interface SubscriberSuccessResponse { } export declare const Subscriptions: MessageFns; export declare const Subscriptions_SubscriptionsEntry: MessageFns; export declare const SubscriberSuccessResponse: MessageFns; export interface Subscriber { get_subscriptions(request: Empty): Promise; set_subscriptions(request: Subscriptions): Promise; } export declare const SubscriberServiceName = "Subscriber"; export declare class SubscriberClientImpl implements Subscriber { private readonly rpc; private readonly service; constructor(rpc: Rpc, opts?: { service?: string; }); get_subscriptions(request: Empty): Promise; set_subscriptions(request: Subscriptions): Promise; } interface Rpc { request(service: string, method: string, data: Uint8Array): Promise; } type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined; export type DeepPartial = T extends Builtin ? T : T extends globalThis.Array ? globalThis.Array> : T extends ReadonlyArray ? ReadonlyArray> : T extends {} ? { [K in keyof T]?: DeepPartial; } : Partial; type KeysOfUnion = T extends T ? keyof T : never; export type Exact = P extends Builtin ? P : P & { [K in keyof P]: Exact; } & { [K in Exclude>]: never; }; export interface MessageFns { encode(message: T, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): T; fromJSON(object: any): T; toJSON(message: T): unknown; create, I>>(base?: I): T; fromPartial, I>>(object: I): T; } export {};