/** * Reserved type prefixes and meta keys. * Avoid collisions in message routing. * * Reservations: * - __* (double underscore) → system/internal use * - $* (dollar) → private/implementation detail (framework) * - $ws:* → router lifecycle events (open/close) */ export declare const RESERVED_PREFIXES: readonly ["__", "$"]; /** * System message types for heartbeat. */ export declare const SYSTEM_MESSAGES: { readonly HEARTBEAT: "__heartbeat"; readonly HEARTBEAT_ACK: "__heartbeat_ack"; }; /** * Router lifecycle event types. * These are used internally for onOpen/onClose handlers * and bypass validation plugins. */ export declare const SYSTEM_LIFECYCLE: { readonly OPEN: "$ws:open"; readonly CLOSE: "$ws:close"; }; /** * Check if a type is reserved (system/internal use only). */ export declare function isReserved(type: string): boolean; /** * Check if a type is a lifecycle event ($ws:open, $ws:close). * Lifecycle events bypass validation but are handled by router lifecycle hooks. */ export declare function isLifecycle(type: string): boolean; //# sourceMappingURL=reserved.d.ts.map