import { ComponentPropsWithRef, JSX, ReactElement } from 'react';
export type ElementType = keyof JSX.IntrinsicElements;
export type ElementPropsWithoutEl = ComponentPropsWithRef<ElementType>;
export type ElementProps<E extends keyof JSX.IntrinsicElements> = {
    el: E;
} & ComponentPropsWithRef<E>;
export type OptionalElementProps<E extends keyof JSX.IntrinsicElements> = {
    el?: E;
} & ComponentPropsWithRef<E>;
/**
 * Generic renders a component with the given element type .
 *
 * @param props - Props for the generic component. All props not defined below are passed to
 * the underlying element.
 * @param props.el - The element type to render.
 */
export declare const Element: <E extends keyof JSX.IntrinsicElements>({ el, children, ...rest }: ElementProps<E>) => ReactElement;
//# sourceMappingURL=Generic.d.ts.map