import type { CommandResponse } from '../../client/index.js'; /** Resource whose option catalog the server serves. */ export declare const OptionsScope: { readonly Topic: 1; readonly Stream: 2; readonly User: 3; }; export type OptionsScope = typeof OptionsScope[keyof typeof OptionsScope]; /** * One catalog entry: the key a create command accepts, the kind the server * encodes its default under, that default, and what the option does. * * `kind` is this key's canonical kind: what the server encodes its default * under, and what a value set at create is stored as whatever kind it was sent * in, since create admission re-encodes the block from its own parse. An update * stores the client's bytes verbatim and is the exception. */ export type OptionSpec = { key: string; kind: number; defaultValue: Buffer; description: string; }; export type DescribeOptions = { scope: OptionsScope; }; export declare const DESCRIBE_OPTIONS: { code: number; serialize: ({ scope }: DescribeOptions) => Buffer; deserialize: (r: CommandResponse) => OptionSpec[]; }; export declare const describeOptions: (getClient: import("../../client/client.type.js").ClientProvider) => (arg: DescribeOptions) => Promise; //# sourceMappingURL=describe-options.command.d.ts.map