import type { Result } from '../../api/search/search/result.js';
import { type FoldingState } from './folding-state.js';
export interface ResultWithFolding extends Result {
    parentResult: ResultWithFolding | null;
    childResults: ResultWithFolding[];
    totalNumberOfChildResults: number;
}
export declare const foldingReducer: import("redux").Reducer<FoldingState> & {
    getInitialState: () => FoldingState;
};
