import { ComponentPropsWithRef, HTMLAttributes, ReactNode } from 'react'; import { MergeProps } from '../../utils/forwardRefWithAs'; export interface LoaderOptions { children?: ReactNode; size?: Size; variant?: Variant; } export type LoaderProps = MergeProps; type ElementAttributes = MergeProps, HTMLAttributes>; type Variant = 'neutral' | 'primary' | 'violet'; export declare const ValidSize: readonly ["xs", "sm", "md", "lg"]; export type LoaderSize = (typeof ValidSize)[number]; export type Size = (Record & (number | string)) | LoaderSize; export {};