import React from 'react'; export declare function mergeRefs(...refs: any[]): any; export interface CreateContextOptions { /** * If `true`, React will throw if context is `null` or `undefined` * In some cases, you might want to support nested context, so you can set it to `false` */ strict?: boolean; /** * Error message to throw if the context is `undefined` */ errorMessage?: string; /** * The display name of the context */ name?: string; } type CreateContextReturn = [React.Provider, () => T, React.Context]; /** * Creates a named context, provider, and hook. * * @param options create context options */ export declare function createContext(options?: CreateContextOptions): CreateContextReturn; export {};