import { PayloadAction } from "@reduxjs/toolkit";
import { NodeId } from "../../../data/types";
export type TreeExpansionValue = "expanded" | "collapsed";
export interface TreeExpansionState {
    [nodeId: NodeId]: TreeExpansionValue;
}
export declare const treeExpansionSlice: import("@reduxjs/toolkit").Slice<TreeExpansionState, {
    updateTreeExpansion: (state: import("immer/dist/internal").WritableDraft<TreeExpansionState>, action: PayloadAction<{
        nodeId: NodeId;
        value: TreeExpansionValue;
    }>) => void;
}, "treeExpansion">;
export declare const updateTreeExpansion: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    nodeId: NodeId;
    value: TreeExpansionValue;
}, "treeExpansion/updateTreeExpansion">;
export declare const treeExpansionReducer: import("redux").Reducer<TreeExpansionState>;
//# sourceMappingURL=tree-expansion.d.ts.map