import { type VariantProps } from 'class-variance-authority'; import * as React from 'react'; /** * Spinner size variants. Matches the Angular companion (`gr-spinner`). */ declare const spinnerVariants: (props?: ({ size?: "default" | "sm" | "lg" | null | undefined; } & import("class-variance-authority/types").ClassProp) | undefined) => string; export type SpinnerSize = NonNullable['size']>; export type SpinnerProps = React.ComponentProps<'svg'> & VariantProps; /** * Spinner - indeterminate "thinking" indicator. A faithful shadcn/ui port * (lucide `Loader2Icon` + `animate-spin`), extended with a `size` variant so * the API matches `@gremorie/ng-feedback`. * * Renders a single rotating glyph, so it lives anywhere a glyph fits - * inline next to text, inside a button while a request is in flight, in an * empty state. Use `Spinner` when duration is unknown; use `Progress` when * you know the percent complete; use `Skeleton` when you need to reserve * layout for content shape. Inherits `currentColor`, so it tints with the * surrounding text color. */ declare function Spinner({ className, size, ...props }: SpinnerProps): React.JSX.Element; export { Spinner, spinnerVariants }; //# sourceMappingURL=spinner.d.ts.map