import type { Favicon } from "./types"; /** * Get the Favicon object from the given URL * * @example * ```ts * import { getFaviconFrom } from "favicons"; * * const favicon = await getFaviconFrom("https://nextjs.com/favicon.ico"); * ``` * * @param url @description The URL to get the favicon object from * @returns Promise */ export declare function getFaviconFrom(url: string): Promise; /** * Get favicon objects from the given hrefs * * @example * ```ts * import { requestFavicons } from "favicons"; * * const favicons = await requestFavicons(["https://nextjs.com/favicon.ico", "https://nextjs.com/favicon.png"]); * ``` * * @param hrefs @description The list of hrefs to get the favicon objects from * @param url @description The URL to use as a base for relative paths * @returns Promise */ export declare function getFaviconsFrom(hrefs: string[], url?: string): Promise;