1 | import { ValidationOptions } from '../ValidationOptions';
|
2 | export declare const IS_HSL = "isHSL";
|
3 | /**
|
4 | * Check if the string is an HSL (hue, saturation, lightness, optional alpha) color based on CSS Colors Level 4 specification.
|
5 | * Comma-separated format supported. Space-separated format supported with the exception of a few edge cases (ex: hsl(200grad+.1%62%/1)).
|
6 | * If given value is not a string, then it returns false.
|
7 | */
|
8 | export declare function isHSL(value: unknown): boolean;
|
9 | /**
|
10 | * Check if the string is an HSL (hue, saturation, lightness, optional alpha) color based on CSS Colors Level 4 specification.
|
11 | * Comma-separated format supported. Space-separated format supported with the exception of a few edge cases (ex: hsl(200grad+.1%62%/1)).
|
12 | * If given value is not a string, then it returns false.
|
13 | */
|
14 | export declare function IsHSL(validationOptions?: ValidationOptions): PropertyDecorator;
|