import React from "react";
export interface PolymorphicComponentBaseProps<E extends React.ElementType = React.ElementType> {
    as?: E;
}
export type PolymorphicComponentProps<E extends React.ElementType> = PolymorphicComponentBaseProps<E> & Omit<React.ComponentPropsWithRef<E>, keyof PolymorphicComponentBaseProps>;
export declare const PolymorphicComponent: <E extends React.ElementType = "div">({ as, children, ...props }: PolymorphicComponentProps<E>) => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
//# sourceMappingURL=PolymorphicComponent.d.ts.map