import { M as Metadata, ai as FarmAgentJsonLd } from './client-plugins-Bz7W8EKI.mjs'; type MetadataImageKind = "opengraph" | "twitter"; interface FarmMetadataImageReference { kind: MetadataImageKind; href: string; alt?: string; width?: number; height?: number; contentType?: string; } interface RenderedMetadataHead { title: string; tags: string; hasFavicon: boolean; /** False when the title is the framework fallback rather than configured. */ hasExplicitTitle: boolean; } type MetadataRecord = Metadata & Record; declare function mergeMetadata(base: MetadataRecord | undefined, next: MetadataRecord | undefined): MetadataRecord; declare function addMetadataImageReference(metadata: MetadataRecord, reference: FarmMetadataImageReference): MetadataRecord; interface RenderMetadataHeadOptions { /** * Current request pathname. Used to emit a default `` * when the route does not set one, so agents and crawlers can resolve the * page's identity. Combined with `metadataBase` into an absolute URL when a * base is configured; otherwise emitted as a self-referential path. */ pathname?: string; /** * Agent JSON-LD config. When truthy, a schema.org JSON-LD script is emitted in * the head, built from this config and the page/site metadata. `true` uses the * defaults; `false`/omitted (the default) emits nothing. */ jsonLd?: FarmAgentJsonLd | boolean; } declare function renderMetadataHead(metadata: MetadataRecord | undefined, options?: RenderMetadataHeadOptions): RenderedMetadataHead; type ApplicationMetadataRouteKind = "sitemap" | "robots" | "manifest"; declare namespace MetadataRoute { type SitemapChangeFrequency = "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | "never"; interface SitemapEntry { url: string; lastModified?: string | Date; changeFrequency?: SitemapChangeFrequency; priority?: number; alternates?: { languages?: Record; }; } type Sitemap = SitemapEntry[]; interface RobotsRule { userAgent: string | string[]; allow?: string | string[]; disallow?: string | string[]; crawlDelay?: number; } interface Robots { rules: RobotsRule | RobotsRule[]; sitemap?: string | string[]; host?: string; } interface ManifestIcon { src: string; sizes?: string; type?: string; purpose?: string; } interface Manifest { name?: string; short_name?: string; description?: string; id?: string; start_url?: string; scope?: string; display?: "fullscreen" | "standalone" | "minimal-ui" | "browser" | string; orientation?: string; background_color?: string; theme_color?: string; lang?: string; dir?: "ltr" | "rtl" | "auto"; categories?: string[]; icons?: ManifestIcon[]; [key: string]: unknown; } } interface MetadataRouteContext { request: Request; params: Record; searchParams: URLSearchParams; /** The concrete route-segment path that owns the metadata file. */ path: string; } interface FarmMetadataRouteModule { revalidate?: number | false; } interface FarmMetadataRouteResponseOptions { method?: string; } /** @internal */ declare function createFarmMetadataRouteResponse(kind: ApplicationMetadataRouteKind, value: unknown, routeModule?: FarmMetadataRouteModule, options?: FarmMetadataRouteResponseOptions): Response; export { type ApplicationMetadataRouteKind as A, type MetadataImageKind as M, addMetadataImageReference as a, MetadataRoute as b, createFarmMetadataRouteResponse as c, type MetadataRouteContext as d, mergeMetadata as m, renderMetadataHead as r };