import type { ComponentPropsWithoutRef, ComponentPropsWithRef, ElementType } from 'react'; type MainProps = { as?: E; ref?: ComponentPropsWithRef['ref']; }; type PropsToOmit = keyof (MainProps & P); export type PolymorphicComponentProps = P & MainProps & Omit, PropsToOmit>; export {}; //# sourceMappingURL=types.d.ts.map