import type { StxOptions } from '../types';
/**
 * Generate precache manifest from build output directory
 */
export declare function generatePrecacheManifest(outputDir: string, options: StxOptions): PrecacheManifest;
/**
 * Generate precache manifest as JavaScript array for service worker
 */
export declare function generatePrecacheManifestJs(manifest: PrecacheManifest): string;
/**
 * Get human-readable size
 */
export declare function formatSize(bytes: number): string;
/**
 * Precache manifest entry
 */
export declare interface PrecacheEntry {
  url: string
  revision: string
  size: number
}
/**
 * Precache manifest result
 */
export declare interface PrecacheManifest {
  entries: PrecacheEntry[]
  totalSize: number
  fileCount: number
}
