import { Context } from 'react'; export declare function createNullableContext(name: string): Context; export declare function createContextHook(context: Context): { (options: { nonNull: true; caller?: Function; }): T; (options: { nonNull?: boolean; caller?: Function; }): T | null; (): T | null; };