import classNames from "classnames"; import React, { CSSProperties, ReactNode } from "react"; import { LayoutEvent } from "reactjs-view-core"; declare type Style = 0 | false | undefined | CSSProperties | Style[]; export declare type Variant = "div" | "a" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "article" | "p" | "main" | "section"; interface ViewProps extends Omit, "className" | "style" | "children"> { onLayout?: (e: LayoutEvent) => void; className?: Parameters[0]; style?: Style; testID?: string; href?: string; variant?: Variant; children?: ReactNode | ReactNode[] | null; onPress?: (e: any) => void; } declare const View: React.ForwardRefExoticComponent>; declare function flattenStyle(style?: ViewProps["style"]): CSSProperties | undefined; export { View, flattenStyle }; export type { ViewProps }; //# sourceMappingURL=index.d.ts.map