//#region src/index.d.ts
/**
 * `@platform-modules/util` — public seam.
 *
 * Export the module's contract here. Be lazy inside (coding-standard §2 ladder),
 * strict at every export (§4 checklist). One behavioral test per export, co-located.
 */
interface ErrorCopy {
  title: string;
  message: string;
}
/**
 * Host-overridable copy for the common HTTP error pages. Pure data — no status→render wiring
 * (that is a thin host template over `ErrorState`), no `noindex`/`Retry-After` (host headers).
 * 500 is the universal fallback so {@link errorCopy} always resolves.
 */
declare const DEFAULT_ERROR_COPY: Readonly<Record<number, ErrorCopy>>;
/**
 * Resolve copy for an HTTP status code: a per-code override wins, else the default for that code,
 * else the 500 copy. ALWAYS resolves — an unknown code never yields `undefined` (the page never
 * renders blank).
 */
declare function errorCopy(code: number, overrides?: Record<number, ErrorCopy>): ErrorCopy;
//#endregion
export { DEFAULT_ERROR_COPY, ErrorCopy, errorCopy };