import * as React from 'react'; import { Omit } from '../../utils/typeHelper'; import { I18Language, IConfigState } from './types'; export interface IWithConfigActions { onToggleThemeField: () => void; onUpdateLangField: (lang: I18Language) => void; onUpdateGlobalFilterString: (filterStr: string) => void; onUpdateOneField: (tabName: string, fieldName: string, value: any) => void; onExtendCustomState: (customState: any) => void; } export interface IWithConfig { config: Partial; actions: IWithConfigActions; } interface IWithConfigContext { configContext?: Partial; } export declare const ConfigContext: React.Context>; export declare type WithConfigContext = IWithConfigContext; export declare const ConfigContextProvider: React.ProviderExoticComponent>>; export declare const ConfigContextConsumer: React.ExoticComponent>>; export declare const withConfigContext:

(Component: React.ComponentType

) => React.FunctionComponent>; export {};