import { Client, ClientOptions } from 'graphql-ws';
import { Executor } from '@graphql-tools/utils';
interface GraphQLWSExecutorOptions extends ClientOptions {
    onClient?: (client: Client) => void;
}
export declare function buildGraphQLWSExecutor(clientOptionsOrClient: GraphQLWSExecutorOptions | Client): Executor;
export {};
