import { BasedServer } from '../server.js'; import { WebSocketSession, Context, ChannelMessageFunction } from '@based/functions'; export declare const unsubscribeFunction: (server: BasedServer, id: number, update: ChannelMessageFunction) => true | void; export declare const unsubscribeChannel: (server: BasedServer, id: number, ctx: Context) => true | void; export declare const unsubscribeChannelIgnoreClient: (server: BasedServer, id: number, ctx: Context) => void;