import { ReactNode } from 'react'; export declare function createElementContext(errorMessage: string): readonly [({ children, value }: { value: ContextValue; children: ReactNode; }) => import("react").JSX.Element, () => ContextValue & ({} | undefined)];