mirror of
https://github.com/Sevichecc/Urara-Blog.git
synced 2025-05-25 03:49:13 +08:00
17 lines
467 B
Text
17 lines
467 B
Text
import { IconifyJSON } from '@iconify/types';
|
|
|
|
/**
|
|
* Match character
|
|
*/
|
|
declare const matchChar: RegExp;
|
|
interface IconSetValidationOptions {
|
|
fix?: boolean;
|
|
prefix?: string;
|
|
provider?: string;
|
|
}
|
|
/**
|
|
* Validate icon set, return it as IconifyJSON type on success, throw error on failure
|
|
*/
|
|
declare function validateIconSet(obj: unknown, options?: IconSetValidationOptions): IconifyJSON;
|
|
|
|
export { IconSetValidationOptions, matchChar, validateIconSet };
|