import React, { ReactNode, ComponentType } from 'react'; export interface State { breakpoint: number; } export interface Value { state: State; dispatch: ({}: { type: string; payload: Object; }) => void; } export declare const LayoutContext: React.Context; export declare const LayoutProvider: ({ breakpoint, children }: { breakpoint: number; children: ReactNode; }) => JSX.Element; interface WithContextProps { value: { state: { breakpoint: number; }; }; } export declare const useLayout: () => State; export declare function withContext(Component: ComponentType): React.ForwardRefExoticComponent> & React.RefAttributes>; export declare const LayoutContextConsumer: React.Consumer; export {};