import { ComponentPropsWithRef, ReactElement } from 'react';

export type JSXElementType = keyof JSX.IntrinsicElements;
export type ElementProps<E extends JSXElementType> = ComponentPropsWithRef<E> & {
    el: 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>(props: ElementProps<E>) => ReactElement;
//# sourceMappingURL=Generic.d.ts.map