type Params = { paradigm: "hydration" | "ssr"; }; /** * Deletes orphaned entry outputs left behind by previous rebuilds. * * After a rebuild the page/SSR artifact maps only reference the newest * hashed entry files; every previously hashed entry for the same directory * is provably unreferenced (generated HTML always uses the current map) and * is removed. Chunks, non-hashed fallback module files and `map.json` are * left untouched. */ export default function cleanupArtifacts({ paradigm }: Params): Promise; export {};