import { ComponentProps, ExcludedProps, VariantProps } from "@vitality-ds/system"; import { valueof } from "../helpers/logic/type-helpers"; import { BaseSpinner, BaseSpinnerCircle, BaseSpinnerSvg } from "./styled"; export declare type PresetSizes = "xs" | "sm" | "md" | "lg" | "xl"; export declare type SpinnerProps = ExcludedProps & Omit, "ref"> & { /** * Change the size of the component. Consider the visual context in which the `Spinner` will be used. */ size?: PresetSizes; /** * Prevent the spinner from displaying for a period of time. Pass this prop (in milliseconds) to provide a delay. */ delay?: 0; /** * React ref forwarded to the SVG element. */ ref?: valueof, "ref">>; /** * Indicate which of the core severity colours are being used behind the spinner. Each spinner color will map to the `onSolidBackgrounds` use case for the severity color. */ onBackgroundColor?: valueof, "color">>; };