import { WrIconDef } from 'ngwr/icon'; /** * @license * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE */ /** * Wrap a single Feather icon (inner SVG markup) in a {@link WrIconDef} * envelope. Pair with the upstream `icons.json` map. * * @example * ```ts * import { feather } from 'ngwr/icon/adapters/feather'; * // feather-icons ships an inner-SVG-only map under dist/icons.json: * // { "plus": "", "trash": "...", ... } * import featherIcons from 'feather-icons/dist/icons.json'; * * provideWrIcons([feather('plus', featherIcons.plus)]); * ``` */ declare function feather(name: string, innerSvg: string): WrIconDef; /** * Bulk variant — pass a `{ alias: innerSvg }` object. Aliases (the * keys) become the registry names so you can use shorter or * project-specific names. * * @example * ```ts * import { featherIcons } from 'ngwr/icon/adapters/feather'; * import featherSource from 'feather-icons/dist/icons.json'; * * provideWrIcons(featherIcons({ * plus: featherSource.plus, * trash: featherSource.trash, * x: featherSource.x, * })); * ``` */ declare function featherIcons(icons: Record): WrIconDef[]; export { feather, featherIcons };