import type { SpinnerSize } from "./types"; import type { Theme } from "../../utils/styles"; /** * @component diwa-spinner * * An animated loading indicator based on a Lucide circular spinner glyph. * Communicates asynchronous activity to both sighted users and screen readers * via role="status" and an accessible label. * * Design token override API (set on :root or any ancestor): * --diwa-spinner-size-sm Diameter for the sm tier (default 14px) * --diwa-spinner-size-md Diameter for the md tier (default 16px) * --diwa-spinner-size-lg Diameter for the lg tier (default 20px) * --diwa-spinner-color Spinner stroke colour (defaults to currentColor) * * Usage: * * * * Parity: mirrors stateless/stateful spinner behavior with consistent * aria-label propagation and size variants. */ export declare class DiwaSpinner { private svgEl?; /** Size tier — controls diameter of the spinner ring. */ size: SpinnerSize; /** Per-component theme override. */ theme: Theme; /** * Accessible label announced by screen readers. * Defaults to "Loading" when omitted. */ label: string; componentDidRender(): void; render(): any; } //# sourceMappingURL=diwa-spinner.d.ts.map