import React, { ComponentType } from 'react';
import { UseContainerContextReturnType } from '../type';
/**
 * 支持自定义 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>>;
export default withContainer;
