import { ApiService } from '../../services/api';
import { BackendError, ResponseData } from './types';
export interface ConfigOptions {
    apiKey: string;
    backendUrl: string;
    onCheck?: (data: ResponseData) => void;
    onError?: (error: BackendError) => void;
}
export declare class GlobalConfig {
    private configOptions;
    private _apiService;
    get apiService(): ApiService;
    private static _instance;
    static get instance(): GlobalConfig;
    static initialize(options: ConfigOptions): void;
    static deactivate(): void;
    constructor(configOptions: ConfigOptions);
    private _apiKey;
    private _isValidApiKey;
    get isValidApiKey(): boolean;
    set isValidApiKey(value: boolean);
    private _getCheckKeyData;
}
//# sourceMappingURL=global.d.ts.map