export type PathState = string[];
export type PathAction = {
    type: 'reset';
} | {
    type: 'opened_first_level';
} | {
    type: 'added_next_level';
    value: string;
} | {
    type: 'removed_last_level';
} | {
    type: 'changed_on_level';
    value: string;
    level: number;
} | {
    type: 'cut_by_level';
    level: number;
};
export declare function pathReducer(state: PathState, action: PathAction): PathState;
//# sourceMappingURL=pathReducer.d.ts.map