import { DropdownOption } from '../interfaces'; interface ParentDropdownOption { type: 'parent'; index: number; option: DropdownOption; children: ChildDropdownOption[]; } interface ChildDropdownOption { type: 'child'; index: number; option: DropdownOption; } export type NestedDropdownOption = ParentDropdownOption | ChildDropdownOption; export declare function unflattenOptions(options: ReadonlyArray): NestedDropdownOption[]; export {};