export interface ITrack {
	minValue: number;
	maxValue: number;
}

export type Component = {
	id?: string;
	style?: string;
	src: string;
	form?: string;
	track?: ITrack;
};

export type Events = {
	changeTrackValues: { minVaule: number; maxValue: number };
	/** Detail is the track object, or track merged with validated `hb-form` fields when `form` is set. */
	dispatchTrack: ITrack & Record<string, unknown>;
};
