import React from 'react';
export interface Props<P> {
    /**
     * Wrap组件
     */
    wrap: React.ComponentType<P>;
    children: React.ReactNode;
    /**
     * Wrap组件的props
     */
    wrapProps?: P;
    /**
     * 是否需要wrap
     */
    need: boolean;
    style?: React.CSSProperties;
}
declare const _default: <P extends unknown = {}>({ wrap: Wrap, children, wrapProps, style, need, }: Props<P>) => any;
export default _default;
