import Option from './Option'; export interface OptionState { key: string; options: Array; defaultValue?: string; available: number; } export declare type OptionContextState = { [index: string]: OptionState; }; export default class OptionContext { private stateChangeListeners; private valueChangeListeners; private _state; private _data; private readonly _options; get options(): Option[]; get state(): OptionContextState; constructor(options: Array