jccp_a/vuepress/node_modules/@iconify/utils/lib/icon-set/validate.d.ts
hellcat ac91e1fbe4 1
2025-11-12 17:57:30 +08:00

15 lines
458 B
TypeScript

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 };