import { ReactNode, PropsWithChildren } from 'react';
interface ConditionalWrapperProps {
    condition: boolean;
    wrapper: (c: ReactNode) => ReactNode | React.JSX.Element;
    otherWrapper?: (c: ReactNode) => ReactNode | React.JSX.Element;
}
export declare function ConditionalWrapper({ condition, wrapper, children, otherWrapper, }: PropsWithChildren<ConditionalWrapperProps>): string | number | boolean | Iterable<ReactNode> | import("react").JSX.Element | null | undefined;
export {};
