import { ResponsiveType } from '../../types/ui.type';
import { VegaLoadingIndicatorSize } from '../../components/vega-loading-indicator/types';

export type VegaLoaderIndicatorOptions = {
	shape?: 'circle' | 'bar';
	size?: ResponsiveType<VegaLoadingIndicatorSize>;
	mode?: 'indeterminate' | 'determinate';
	percent?: number;
	label?: string;
	hint?: string;
	status?: 'default' | 'success' | 'error';
};

export type VegaLoaderOptions = {
	containerSelector?: string;
	indicatorOptions?: VegaLoaderIndicatorOptions;
};
