import {
	VerticalStripesPatternOptions,
	DiagonalStripesPatternOptions,
	CrosshatchPatternOptions,
	GridPatternOptions,
	DotsPatternOptions
} from '@progress/kendo-drawing';

/**
 * Represents the VerticalStripesPattern of the series.
 */
export interface VerticalStripesPattern extends VerticalStripesPatternOptions {
	/**
	 * The type of the pattern.
	 */
	type: 'verticalStripes';
}

/**
 * Represents the CrosshatchPattern of the series.
 */
export interface CrosshatchPattern extends CrosshatchPatternOptions {
	/**
	 * The type of the pattern.
	 */
	type: 'crosshatch';
}

/**
 * Represents the DiagonalStripesPattern of the series.
 */
export interface DiagonalStripesPattern extends DiagonalStripesPatternOptions {
	/**
	 * The type of the pattern.
	 */
	type: 'diagonalStripes';
}

/**
 * Represents the GridPattern of the series.
 */
export interface GridPattern extends GridPatternOptions {
	/**
	 * The type of the pattern.
	 */
	type: 'grid';
}

/**
 * Represents the DotsPattern of the series.
 */
export interface DotsPattern extends DotsPatternOptions {
	/**
	 * The type of the pattern.
	 */
	type: 'dots';
}

/**
 * Represents the pattern option of the series.
 */
export type SeriesPattern =
	| VerticalStripesPattern
	| CrosshatchPattern
	| DiagonalStripesPattern
	| GridPattern
	| DotsPattern;
