,
+> = PropsWithChildren> & Omit, PropsToOmit>;
+
+export type PolymorphicRef = ComponentPropsWithRef['ref'];
+
+export type PolymorphicComponentPropsWithRef<
+ T extends ElementType,
+ P = Record,
+> = PolymorphicComponentProps & { ref?: PolymorphicRef };