import { type ViewProps as SpectrumViewProps } from '@adobe/react-spectrum'; import type { DOMRefValue } from '@react-types/shared'; import { type ColorValue } from '../theme/colorUtils'; export type ViewProps = Omit, 'backgroundColor' | 'borderColor' | 'borderStartColor' | 'borderEndColor' | 'borderTopColor' | 'borderBottomColor' | 'borderXColor' | 'borderYColor'> & { backgroundColor?: ColorValue; borderColor?: ColorValue; borderStartColor?: ColorValue; borderEndColor?: ColorValue; borderTopColor?: ColorValue; borderBottomColor?: ColorValue; borderXColor?: ColorValue; borderYColor?: ColorValue; }; /** * A View component that re-exports the Spectrum View component. * However, it overrides ColorValues to accept CSS color strings and * our custom variable names from our color palette and semantic colors. * * @param props The props for the View component * @returns The View component * */ export declare const View: import("react").ForwardRefExoticComponent, "backgroundColor" | "borderColor" | "borderStartColor" | "borderEndColor" | "borderTopColor" | "borderBottomColor" | "borderXColor" | "borderYColor"> & { backgroundColor?: ColorValue; borderColor?: ColorValue; borderStartColor?: ColorValue; borderEndColor?: ColorValue; borderTopColor?: ColorValue; borderBottomColor?: ColorValue; borderXColor?: ColorValue; borderYColor?: ColorValue; } & import("react").RefAttributes>>; export default View; //# sourceMappingURL=View.d.ts.map