import { ColorSwatchProps as AriaColorSwatchProps, Color } from 'react-aria-components/ColorSwatch';
import { ContextValue } from 'react-aria-components/slots';
import { JSX, ReactElement } from 'react';
import { DOMRefValue, GlobalDOMAttributes } from '@react-types/shared';
import { StylesPropWithHeight, UnsafeStyles } from './style-utils';
export interface ColorSwatchProps extends Omit<AriaColorSwatchProps, 'className' | 'style' | 'render' | keyof GlobalDOMAttributes>, UnsafeStyles {
    /**
     * The size of the ColorSwatch.
     * @default 'M'
     */
    size?: 'XS' | 'S' | 'M' | 'L';
    /**
     * The corner rounding of the ColorSwatch.
     * @default 'default'
     */
    rounding?: 'default' | 'none' | 'full';
    /** Spectrum-defined styles, returned by the `style()` macro. */
    styles?: StylesPropWithHeight;
}
interface SpectrumColorSwatchContextValue extends Pick<ColorSwatchProps, 'size' | 'rounding'> {
    useWrapper: (swatch: ReactElement, color: Color, rounding: ColorSwatchProps['rounding']) => JSX.Element;
}
export declare const ColorSwatchContext: import("react").Context<ContextValue<Partial<ColorSwatchProps>, DOMRefValue<HTMLDivElement>>>;
export declare const InternalColorSwatchContext: import("react").Context<SpectrumColorSwatchContextValue | null>;
/**
 * A ColorSwatch displays a preview of a selected color.
 */
export declare const ColorSwatch: import("react").ForwardRefExoticComponent<ColorSwatchProps & import("react").RefAttributes<DOMRefValue<HTMLDivElement>>>;
export {};
