import { UseContainerContextReturnType } from "../type.js";
import React, { ComponentType } from "react";

//#region src/components/pisellDataSourceContainer/utils/withContainer.d.ts
/**
 * 支持自定义 ID 的组件 Props
 */
declare function withContainer<P extends object, R = any>(WrappedComponent: ComponentType<P & UseContainerContextReturnType>, displayName: string): React.ForwardRefExoticComponent<React.PropsWithoutRef<P & {
  refId?: string | undefined;
}> & React.RefAttributes<R>>;
//#endregion
export { withContainer };