/** * Lightweight graphql-ws protocol (graphql-transport-ws) client. * Implements the minimal subset needed for subscriptions. * * Protocol spec: https://github.com/enisdenjo/graphql-ws/blob/master/PROTOCOL.md */ type MessageHandler = { onData: (data: unknown) => void; onError: (error: unknown) => void; onComplete: () => void; onConnected: () => void; }; export declare const createGraphqlWsClient: (wsUrl: string, query: string, variables: Record | undefined, handlers: MessageHandler) => { close: () => void; }; export {};