/**
 * Mode in which the signature capture operates.
 */
export type VegaSignatureCaptureMode = 'written';

/**
 * Coordinates for a mouse position used in signature drawing.
 */
export type VegaSignatureMousePosition = {
	/**
	 * Horizontal coordinate.
	 */
	x: number;
	/**
	 * Vertical coordinate.
	 */
	y: number;
};

/**
 * Value produced by the signature capture component.
 */
export type VegaSignatureValue = {
	/**
	 * Signature capture mode.
	 */
	type: VegaSignatureCaptureMode;
	/**
	 * Base64 or URL representation of the signature image.
	 */
	img: string;
};
