export interface TokenSubscriptionOptions { limit?: number; onData(data: unknown): void; onError?(error: Error): void; } export interface BoundedTokenSubscribeClient { subscribe(path: string, options: TokenSubscriptionOptions): Promise<() => Promise>; close(): void; } export interface BoundedTokenSubscribeConfig { appId: string; wsApiUrl: string; token(): Promise; } /** * Narrow browser client for Bounded's authenticated WebSocket-v2 `subscribe` * protocol. It exists for access-gated pages that already own a short-lived, * read-only token and therefore must not pull wallet, write, or chain code into * the browser bundle. Tokens are sent only in the first socket frame, never in * the URL, storage, errors, or logs. */ export declare function createBoundedTokenSubscribeClient(config: BoundedTokenSubscribeConfig): BoundedTokenSubscribeClient;