type PropsOf = React.ComponentPropsWithRef; type InputProps = PropsOf | ((otherProps: PropsOf) => PropsOf) | undefined; /** @see https://foxact.skk.moe/merge-props */ declare function mergeProps(propsArray: Array>): PropsOf; declare function mergeProps(...props: Array>): PropsOf; export { mergeProps };