import { CascadeOption, CascadeValue, CascadeLevel } from './types';

export declare const useCascade: () => import('./types').CascadeContextValue;
export declare const useCascadeLevels: (options: CascadeOption[], maxLevels?: number) => CascadeLevel[];
export declare const useCascadeValue: (options: CascadeOption[]) => {
    findValuePath: (targetValue: string | number, opts: CascadeOption[], path?: (string | number)[]) => (string | number)[] | null;
    getValueFromPath: (path: (string | number)[]) => CascadeValue | null;
    getOptionsForLevel: (level: number, selectedPath?: (string | number)[]) => CascadeOption[];
};
