import { As, RightJoinProps, PropsOf, InternalForwardRefRenderFunction } from './types.js'; import * as React from 'react'; import '@react-types/shared'; declare function forwardRef(component: React.ForwardRefRenderFunction, Props> & { as?: As; }>): InternalForwardRefRenderFunction; declare const toIterator: (obj: any) => any; declare const mapPropsVariants: , K extends keyof T>(props: T, variantKeys?: K[] | undefined, removeVariantProps?: boolean) => readonly [T | Omit, {} | Pick]; declare const mapPropsVariantsWithCommon:

, VK extends keyof P, CK extends keyof P = never>(originalProps: P, variantKeys: VK[], commonKeys?: CK[] | undefined) => readonly [Omit>, Pick]; /** * Checks if a component is a NextUI component. * @param component - The component to check. * @returns `true` if the component is a NextUI component, `false` otherwise. */ declare const isNextUIEl: (component: React.ReactComponentElement) => boolean; export { forwardRef, isNextUIEl, mapPropsVariants, mapPropsVariantsWithCommon, toIterator };