import { ForwardRefExoticComponent, RefAttributes, HTMLAttributes } from 'react'; type LoaderSharedProps = HTMLAttributes; interface InlineLoaderProps extends LoaderSharedProps { variant?: 'inline'; size?: number; } interface PageLoaderProps extends LoaderSharedProps { variant: 'page'; header: string; description?: string; } type LoaderProps = InlineLoaderProps | PageLoaderProps; declare const Loader: ForwardRefExoticComponent>; export { Loader }; export type { LoaderProps };