import { PropsWithChildren } from 'react'; import type { Mode } from '../schema-types'; export declare const useMode: () => { mode: Mode; setMode: (mode: Mode['type']) => void; }; export declare const ModeProvider: ({ children, mode: defaultMode }: PropsWithChildren<{ mode?: Mode['type']; }>) => JSX.Element;