import { ComponentProps, ElementType } from 'react'; type BaseComponentFormats = C | { Component: C; } | { default: C; }; export type SupportedComponentFormats = BaseComponentFormats | Promise>; export declare function wrap(wrappedComponent: SupportedComponentFormats, wrappedProps?: Omit, 'children'> | (() => Omit, 'children'>)): >(component: SupportedComponentFormats) => Promise<(props: ComponentProps) => import("react/jsx-runtime").JSX.Element>; export declare namespace wrap { function concat(...wrappers: ReturnType[]): ReturnType; } export {};