///
import Global from './global';
declare const GlobalContext: import("react").Context<{
[modelName: string]: any;
}>;
declare const Consumer: import("react").Consumer<{
[modelName: string]: any;
}>;
declare const consumerActions: (actions: Actions, modelContext: {
modelName: string;
}) => any;
declare const setPartialState: (name: keyof typeof Global['State'], partialState: {
[modelName: string]: any;
} | ((state: typeof Global['State']['name']) => void)) => {
[modelName: string]: any;
};
declare const get: (p: Array) => (o: T) => any;
declare const timeout: (ms: number, data: T) => Promise;
declare const getInitialState: (context?: T | undefined, config?: {
isServer?: boolean | undefined;
prefix?: string | undefined;
} | undefined) => Promise<{
[modelName: string]: any;
}>;
declare const getCache: (modelName: string, actionName: string) => any;
declare const shallowEqual: (objA: any, objB: any) => boolean;
export { Consumer, consumerActions, GlobalContext, setPartialState, shallowEqual, timeout, get, getCache, getInitialState };