interface FetchManifestParams { domain: string; } /** * Fetches and returns the contents of `/manifest.json` for a given domain. * * - Strips **all** protocol prefixes from the supplied domain. * - Forces `http` for `localhost`, defaults to `https` otherwise. * - Uses an `AbortController` to aggressively timeout stalled requests so that * sites *without* a manifest don’t block the caller. * - Always resolves to an **object** – falling back to an empty object `{}` * on any kind of failure (network error, non‑2xx status, invalid JSON, etc.). * * @param {FetchManifestParams} params – `{ domain }` to query * @param {number} [timeout=1500] – hard timeout in **milliseconds** before aborting */ export default function fetchManifest({ domain }: FetchManifestParams, timeout?: number): Promise>; export {};