import { EdgeService } from './edge_service';
import { FeatureHubConfig } from './feature_hub_config';
import { InternalFeatureRepository } from './internal_feature_repository';
export interface BrowserOptions {
    timeout?: number;
}
export interface NodejsOptions {
    timeout?: number;
}
export declare class FeatureHubPollingClient implements EdgeService {
    private _frequency;
    private _url;
    private _repository;
    private _pollingService;
    private _options;
    private _startable;
    private readonly _config;
    private _xHeader;
    constructor(repository: InternalFeatureRepository, config: FeatureHubConfig, frequency: number, options?: BrowserOptions | NodejsOptions);
    _initService(): void;
    contextChange(header: string): Promise<void>;
    clientEvaluated(): boolean;
    requiresReplacementOnHeaderChange(): boolean;
    close(): void;
    poll(): Promise<void>;
    private stop;
    private _restartTimer;
    private response;
}
