react-native-xenon
Version:
A powerful in-app debugging tool for React Native.
14 lines • 632 B
TypeScript
import type { Updater } from 'use-immer';
import type { useConsoleInterceptor, useNetworkInterceptor } from '../hooks';
import type { DebuggerState } from '../types';
import type { ScaledSize } from 'react-native';
interface MainContextValue {
dimensions: ScaledSize;
debuggerState: DebuggerState;
setDebuggerState: Updater<DebuggerState>;
networkInterceptor: ReturnType<typeof useNetworkInterceptor>;
consoleInterceptor: ReturnType<typeof useConsoleInterceptor>;
}
declare const MainContext: import("react").Context<MainContextValue | null>;
export default MainContext;
//# sourceMappingURL=MainContext.d.ts.map