export type IGauge = {
	value: number;
	min: number;
	max: number;
};

/** JustGage constructor options merged with `{ element }` in the component. */
export type GaugeOptions = IGauge & Record<string, unknown>;

export type Component = {
	id?: string;
	style?: string;
	/** JSON string from HTML, or an object when set from JavaScript. */
	options: string | GaugeOptions;
};

export type Events = {};
