/**
 * Generate a fingerprint hash from content.
 * Uses SHA-256 truncated to 8 hex chars.
 */
export declare function fingerprint(content: string): string;
/**
 * Build the signals runtime as an external asset.
 * This is identical for every page — no need to inline 20-40KB per page.
 */
export declare function buildRuntimeAsset(debug?: boolean): BuiltAsset;
/**
 * Build the SPA router script as an external asset.
 * Identical for every page — ~5-8KB.
 */
export declare function buildRouterAsset(): BuiltAsset;
/**
 * Generates `<script src>` and `<link href>` tags for externalized assets.
 * Used in build mode to replace inline scripts with references.
 */
export declare function assetTags(assets: { runtime?: BuiltAsset, router?: BuiltAsset, css?: BuiltAsset }): {
  runtimeTag: string
  routerTag: string
  cssTag: string
};
/**
 * A built asset with content and fingerprinted filename.
 */
export declare interface BuiltAsset {
  content: string
  filename: string
  hash: string
}
