import React from "react";
import type { PerseusDependenciesV2 } from "../types";
/**
 * Higher-Order Component that provides PerseusDependenciesV2 to the wrapped component.
 * The dependencies are obtained from the DependenciesContext via the useDependencies hook.
 */
export declare function withDependencies<P extends {
    dependencies?: PerseusDependenciesV2;
}>(WrappedComponent: React.ComponentType<P>): React.ForwardRefExoticComponent<React.PropsWithoutRef<Omit<P, "dependencies">> & React.RefAttributes<any>>;
