///
import { ProviderConstructor } from '../providers/provider';
import { CloudStorageService } from '../storage/cloudstorageService';
import { Options } from './types';
import * as axios from 'axios';
import * as events from 'events';
export declare class RayconnectCore {
protected ops: Options;
private token;
private config;
private provider;
user: any;
protected socket: any;
protected encode: boolean;
protected authed: boolean;
protected realTime: boolean;
localEvents: events.EventEmitter;
protected CloudStorageservice: CloudStorageService;
protected message_id: number;
authToken: string;
protected device: import("detect-browser").BrowserInfo | import("detect-browser").SearchBotDeviceInfo | import("detect-browser").BotInfo | import("detect-browser").NodeInfo | import("detect-browser").ReactNativeInfo | null;
protected privateAuthToken: string;
httpService: axios.AxiosStatic;
static readonly DefaultOps: {
scopes: string;
appID: string;
space: string;
type: string;
url: string;
};
constructor(ops: Options, token: any, config: any, provider: ProviderConstructor);
protected openDB(): Promise;
protected Connect(): any;
protected Ack(data: any): void;
protected ObjectIdvalue: (id: {
id: {
toString: () => void;
};
}) => void;
OnConnect(callback: {
(): void;
(): void;
}): void;
Auth(token?: any): Promise;
loadGlobalCookie(token: string): Promise;
protected getAccess(inputToken?: string): Promise;
}