/** * Pure brand-signal extraction from a website's HTML. * * Shared by the `analyze-brand-assets` action across templates. DB-agnostic and * framework-agnostic: it only fetches (through the SSRF-safe helper) and parses * HTML. The DB access (resolving an existing Brand Kit) stays in the template's * thin action wrapper. */ import type { BrandWebsiteSignals } from "./types.js"; /** * Normalize a user-supplied brand website URL: add an `https://` scheme when * missing and reject anything that isn't http(s). Throws on empty input or an * unsupported scheme. */ export declare function normalizeBrandWebsiteUrl(input: string): string; /** * Parse brand signals out of a page's HTML: meta theme-color, CSS custom * properties (capped), @font-face declarations (capped), title, and meta * description. Pure — no network. The provided `url` is echoed back. */ export declare function extractBrandSignalsFromHtml(html: string, url: string): BrandWebsiteSignals; /** * Fetch a brand website (SSRF-safe) and extract its brand signals. Returns the * parsed signals, or an `{ url, error }` shape if the fetch/parse fails — the * caller decides how to surface that to the agent. */ export declare function fetchBrandWebsiteSignals(websiteUrl: string): Promise; //# sourceMappingURL=brand-signals.d.ts.map