import { ValueOrFunction } from '@moxb/util'; import { ValueImpl, ValueOptions } from '../value/ValueImpl'; import { BindOneOfChoice, OneOf } from './OneOf'; export interface OneOfOptions extends ValueOptions, T> { choices?: ValueOrFunction[]>; searchData?: (value: string) => BindOneOfChoice[]; } export declare class OneOfImpl extends ValueImpl, T, OneOfOptions> implements OneOf { _search?: string; constructor(impl: OneOfOptions); get choices(): BindOneOfChoice[]; get choice(): string | undefined; searchData(value: string): void; get filteredChoices(): BindOneOfChoice[]; }