import React from 'react';
import type { CSSProperties, ReactElement } from 'react';
import { ViewProps } from '@tarojs/components';
export declare type NativeProps<S extends string = never> = {
    className?: string;
    style?: CSSProperties & Partial<Record<S, string>>;
} & Omit<ViewProps, 'style'>;
export declare function withNativeProps<P extends NativeProps>(props: P, element: ReactElement): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
