import { NameLabelPair, OptionGroup } from '../types/index.noReact';
export interface FieldOption {
    readonly value: string;
    readonly label: string;
}
export interface GroupedOption {
    readonly label: string;
    readonly options: readonly FieldOption[];
}
export declare const toOptions: (arr?: NameLabelPair[] | OptionGroup[]) => GroupedOption[] | FieldOption[] | [];
