import { DynamicValue, Listener, Unsubscriber } from "./DynamicValue"; /** * A [[DynamicValue]] reducer returning the value at an index * * @example * ```javascript * new IndexValue(new SplitValue(new TextValue("a,b,c"),","),0).onValue(val=> * val === "a" //true * ) * ``` */ export declare class IndexValue implements DynamicValue { __variant__: string; input: DynamicValue; name: string | void; index: string | number; constructor(input: DynamicValue, index: string | number, name?: string); onValue(listener: Listener): Unsubscriber; getValue(): Promise; static fromJSON(json: { input: any; index: string | number; name?: string; }): any; }