import { Context } from 'react'; /** * Ensures the value of React Context is of a specified subtype. * This is useful to prevent a consumer from accessing context which * has not been properly configured. */ export declare function makeUseRefinedContext(isRefinedValue: (v: T) => v is U, makeMissingContextError: (context: Context) => string): (context: Context) => U; //# sourceMappingURL=RefinedContext.d.ts.map