import { InstallOptions } from "./config.cjs"; import { App } from "vue"; //#region packages/iconify.d.ts type IconsValueObj = { prefix: string; name?: string; body: string; type?: string; width?: number; height?: number; left?: number; top?: number; }; declare function getViewBox(obj: IconsValueObj): string; /** * 将图标配置转换为Vue组件并注册到应用中 * @param app - Vue应用实例,用于注册组件 * @param ify - 图标配置对象,包含前缀、尺寸和图标数据 * @param options - 安装选项,可选参数 * @param options.prefix - 组件名称前缀,默认使用defaultPrefix */ declare const iconify: (app: App, ify: { [key: string]: any; }, { prefix }?: InstallOptions) => void; type Iconify = { prefix: string; icons: { [key: string]: { body: string; }; }; lastModified: number; width: number; height: number; info: { [key: string]: any; }; aliases: { [key: string]: { parent: string; }; }; }; /** * 创建SVG图标组件 * @param obj - 图标配置对象,包含图标的各项属性 * @returns 返回一个Vue组件实例,用于渲染SVG图标 */ declare function iconifySVG(obj: Iconify, name: string): import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any> | undefined; declare function getIconifySVG(obj: Iconify, name: string, str?: string): string | undefined; //#endregion export { getIconifySVG, getViewBox, iconify, iconifySVG };