import React from 'react'; import { interfaces } from 'inversify'; export declare const InversifyContext: React.Context<{ container: interfaces.Container | null; }>; interface Props extends React.PropsWithChildren { container: interfaces.Container; } export declare const Provider: React.FC; export declare function useInjection(identifier: interfaces.ServiceIdentifier): T; export declare function useComponentInjection(identifier: interfaces.ServiceIdentifier>, fallback: React.ComponentType): React.ComponentType; type CallbackType = (props: T) => R; export declare function useCallbackInjection(identifier: interfaces.ServiceIdentifier>, fallback: CallbackType): CallbackType; export declare function withIoc>(getContainer: (props?: Props) => interfaces.Container): (Page: React.ComponentType) => (props: Props) => import("react/jsx-runtime").JSX.Element; export {};