import React from 'react'; import type { SorterDirection } from '../dataGrid'; declare const initialState: { sort?: { [key in string]: SorterDirection; }; filter?: { [key in string]: any; }; sortControled?: boolean; filterControled?: boolean; }; export declare const useConditionReducer: () => { state: { sort?: { [x: string]: SorterDirection; }; filter?: { [x: string]: any; }; sortControled?: boolean; filterControled?: boolean; }; setters: { setState: (newState: typeof initialState) => void; updateState: (diff: Partial) => void; }; }; export declare const ConditionContext: React.Context<{ sort?: { [x: string]: SorterDirection; }; filter?: { [x: string]: any; }; sortControled?: boolean; filterControled?: boolean; }>; export declare const useConditionContext: () => { sort?: { [x: string]: SorterDirection; }; filter?: { [x: string]: any; }; sortControled?: boolean; filterControled?: boolean; }; export declare const ConditionContextSetter: React.Context<{ setState: (newState: typeof initialState) => void; updateState: (diff: Partial) => void; }>; export declare const useConditionSetter: () => { setState: (newState: typeof initialState) => void; updateState: (diff: Partial) => void; }; export {};