import { ComponentPropsWithRef, JSX } from 'react';
type WithoutChildren<T> = Omit<T, "children">;
export type BaseProps<T extends keyof JSX.IntrinsicElements = "div"> = T extends "input" ? WithoutChildren<ComponentPropsWithRef<T>> & {
    [key: `data-${string}`]: string | undefined;
} : ComponentPropsWithRef<T> & {
    [key: `data-${string}`]: string | undefined;
};
export {};
//# sourceMappingURL=common-types.d.ts.map