import { Options } from '../types';
import { NodeConfig } from './detect';
export declare class StateService {
    private defaultOpts;
    transport: 'socket' | 'rpc';
    endpoint: string;
    detected: boolean;
    detectResults: {
        [nodeType: string]: NodeConfig;
    };
    userId: number;
    apiKey: string;
    authed: boolean;
    restInitialised: boolean;
    socketsInitialised: boolean;
    private _opts;
    get opts(): Options;
    set opts(opts: Options);
    private validateOpts;
    private TOKEN;
    get token(): string;
    set token(token: string);
}
