import { SuccessCallback, ErrorCallback } from '../utils'; import { App } from '../app'; export declare class RemoteConfig { private _app; private static _instance; private constructor(_app); static getInstance(app: App): RemoteConfig; private _exec(success, error, action, args?); activateFetched(resolve: SuccessCallback, reject: ErrorCallback): void; fetch(cacheExpirationSeconds?: number): Promise; getByteArray(key: string, namespace?: string): Promise; getValue(key: string, namespace?: string): Promise; getInfo(): Promise; setConfigSettings(settings: ConfigSettings): Promise; setDefaults(defaults: ConfigDefaults, namespace?: string): Promise; } export interface ConfigSettings { developerModeEnabled?: boolean; } export interface ConfigDefaults { [k: string]: any; } export interface ConfigInfo { configSettings: ConfigSettings; fetchTimeMillis: number; lastFetchStatus: number; }