import { Format } from '../shared'; import { JSX } from 'react'; type GetMetaIconLinksOptions = { format?: Format; }; /** * Retrieves meta icon links in the specified format to be injected into the
at build time. * Additional information can be found here: https://main--63440bbb95889041542a5ba3.chromatic.com/?path=/docs/utilities-partials-meta-icons--documentation * * @param {GetMetaIconLinksOptions} [options] - Optional settings for formatting the returned elements. * @param {'html' | 'jsx' | 'cra'} [options.format='jsx'] - Specifies the format of the output. * - 'jsx' (default): Returns a JSX.Element with meta icon links. * - 'html': Returns the styles as a raw HTML string. * - 'cra': Returns HTML formatted links similar to 'html', intended for Create React App usage. * @returns {string | JSX.Element} - The meta icon links in the specified format. * * @throws {Error} Throws an error if executed in a browser environment. * * @example * // Returns a JSX.Element with meta icon links * const jsxLinks = getMetaIconLinks(); * * @example * // Get styles as JSX element. * const jsxLinks = getMetaIconLinks({ format: 'jsx' }); * * @example * // Returns elements as an HTML string. * const htmlLinks = getMetaIconLinks({ format: 'cra' }); */ export declare function getMetaIconLinks(options: { format: 'html'; }): string; export declare function getMetaIconLinks(options?: { format: 'jsx' | 'cra'; }): JSX.Element; export declare function getMetaIconLinks(options?: GetMetaIconLinksOptions): string | JSX.Element; type GetResetStylesOptions = { format?: Exclude