import type * as Path from "../path"; import type { Reader, Writer } from "../stream"; import { type IetfVersion } from "./version"; export declare class SubscribeNamespace { #private; static id: number; namespace: Path.Valid; requestId: bigint; constructor({ namespace, requestId }: { namespace: Path.Valid; requestId: bigint; }); encode(w: Writer, version: IetfVersion): Promise; static decode(r: Reader, version: IetfVersion): Promise; } export declare class SubscribeNamespaceLegacy { #private; static id: number; namespace: Path.Valid; requestId: bigint; subscribeOptions: number; constructor({ namespace, requestId, subscribeOptions, }: { namespace: Path.Valid; requestId: bigint; subscribeOptions?: number; }); encode(w: Writer, version: IetfVersion): Promise; static decode(r: Reader, version: IetfVersion): Promise; } export declare const SUBSCRIBE_TRACKS_ID = 81; export declare class SubscribeNamespaceOk { #private; static id: number; requestId: bigint; constructor({ requestId }: { requestId: bigint; }); encode(w: Writer, _version: IetfVersion): Promise; static decode(r: Reader, _version: IetfVersion): Promise; } export declare class SubscribeNamespaceError { #private; static id: number; requestId: bigint; errorCode: number; reasonPhrase: string; constructor({ requestId, errorCode, reasonPhrase, }: { requestId: bigint; errorCode: number; reasonPhrase: string; }); encode(w: Writer, _version: IetfVersion): Promise; static decode(r: Reader, _version: IetfVersion): Promise; } export declare class UnsubscribeNamespace { #private; static id: number; requestId: bigint; constructor({ requestId }: { requestId: bigint; }); encode(w: Writer, _version: IetfVersion): Promise; static decode(r: Reader, _version: IetfVersion): Promise; } export declare class SubscribeNamespaceEntry { #private; static id: number; suffix: Path.Valid; constructor({ suffix }: { suffix: Path.Valid; }); encode(w: Writer, _version: IetfVersion): Promise; static decode(r: Reader, _version: IetfVersion): Promise; } export declare class SubscribeNamespaceEntryDone { #private; static id: number; suffix: Path.Valid; constructor({ suffix }: { suffix: Path.Valid; }); encode(w: Writer, _version: IetfVersion): Promise; static decode(r: Reader, _version: IetfVersion): Promise; } export declare class PublishBlocked { #private; static id: number; suffix: Path.Valid; trackName: string; constructor({ suffix, trackName }: { suffix: Path.Valid; trackName: string; }); encode(w: Writer, _version: IetfVersion): Promise; static decode(r: Reader, _version: IetfVersion): Promise; } export declare const SubscribeAnnounces: typeof SubscribeNamespace; export declare const SubscribeAnnouncesOk: typeof SubscribeNamespaceOk; export declare const SubscribeAnnouncesError: typeof SubscribeNamespaceError; export declare const UnsubscribeAnnounces: typeof UnsubscribeNamespace; //# sourceMappingURL=subscribe_namespace.d.ts.map