import React, { ReactNode } from 'react'; export type NativeAttributes> = (Omit & Record<`data-${string}`, string>) | undefined; export type SkipWarnings = boolean | string[]; type NativeAttributesProps> = { tag: string; children?: ReactNode; skipWarnings?: SkipWarnings; nativeAttributes: NativeAttributes; componentName: string; } & NativeAttributes; interface ForwardRefType { >(props: NativeAttributesProps & { ref?: React.Ref; }): JSX.Element; } export declare function processAttributes>(rest: Omit, 'children' | 'tag' | 'skipWarnings' | 'componentName' | 'nativeAttributes'>, nativeAttributes: NativeAttributes, componentName: string, skipWarnings?: SkipWarnings): any; declare const _default: ForwardRefType; export default _default;