import type { DefineComponent } from 'vue'; import type { InjectionKey, Ref } from 'vue'; export type CreateContext = { Provider: DefineComponent<{ value: { type: any; }; }>; Consumer: DefineComponent; injectKey: InjectionKey>; }; export declare const createContext: (defaultValue?: T) => CreateContext; export declare const useContext: (context: CreateContext) => any;