import { ThemingProps } from "@chakra-v2/styled-system"; import { HTMLChakraProps } from "../system"; interface SpinnerOptions { /** * The color of the empty area in the spinner * @default "transparent" */ emptyColor?: string; /** * The color of the spinner */ color?: string; /** * The thickness of the spinner * @default "2px" * @example * ```jsx * * ``` */ thickness?: string; /** * The speed of the spinner. * @default "0.45s" * @example * ```jsx * * ``` */ speed?: string; /** * For accessibility, it is important to add a fallback loading text. * This text will be visible to screen readers. * @default "Loading..." */ label?: string; } export interface SpinnerProps extends Omit, keyof SpinnerOptions>, SpinnerOptions, ThemingProps<"Spinner"> { } /** * Spinner is used to indicate the loading state of a page or a component, * It renders a `div` by default. * * @see Docs https://chakra-ui.com/spinner */ export declare const Spinner: import("../system").ComponentWithAs<"div", SpinnerProps>; export {};