/** * @license * Copyright Elegante All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://elegante.dev/license */ import { Subject } from 'rxjs'; import { ElegantePlugin } from './Plugin'; export interface ClientProtocol { params: ClientParams; pubsub: { [key: string]: Subject; }; } export declare const EleganteClient: ClientProtocol; export interface ClientParams { apiKey: string; apiSecret?: string; serverURL: string; serverHeaderPrefix?: string; liveQueryServerURL?: string; debug?: boolean; plugins?: ElegantePlugin[]; validateSession?: boolean; sessionToken?: string; fetch?: { agent?: any; headers?: any; }; } export declare const ClientDefaultParams: Partial;