import { ComponentProps, ComponentType, PropsWithChildren, ReactNode } from 'react';
type ConditionalWrapperProps<TWrapper extends ComponentType<PropsWithChildren> = ComponentType<PropsWithChildren>> = {
    condition: boolean;
    wrapper: TWrapper;
    wrapperProps?: Omit<ComponentProps<TWrapper>, 'children'>;
    children: ReactNode;
};
export default function ConditionalWrapper(props: ConditionalWrapperProps): import("react/jsx-runtime").JSX.Element;
export {};
//# sourceMappingURL=ConditionalWrapper.d.ts.map