type InjectContextStrict = ((fallback?: T) => T) & ((fallback: null) => T | null); /** * @param providerComponentName - The name of the component providing the context. * @param fallbackValue - If the component is allowed to be used alone, you need to pass in null manually, otherwise leave it blank. */ export declare function createContext(providerComponentName: string): readonly [(contextValue: ContextValue) => ContextValue, InjectContextStrict]; export declare function createContext(providerComponentName: string, fallbackValue: ContextValue): readonly [(contextValue: ContextValue) => ContextValue, InjectContextStrict]; export declare function createContext(providerComponentName: string, fallbackValue: null): readonly [ (contextValue: ContextValue) => ContextValue, (fallback?: ContextValue | null) => ContextValue | null ]; export {};