@inlang/paraglide-js
Version:
[](https://www.npmjs.com/package/@inlang/paraglide-js) [: Promise<Record<string, string>>;
/**
* Walk an existing output directory and produce the same hash map that
* {@link writeOutput} would have returned on a previous compile.
*
* Used by the bundler plugins to seed `previousCompilation` on a fresh
* process so the first compile's diff against unchanged inputs is empty
* and `writeOutput` short-circuits — letting us avoid wiping the directory
* out from under concurrent SSR/prerender readers (#659).
*
* Returns `undefined` if the directory does not exist. Keys are
* forward-slash relative paths to match {@link hashOutput}.
*/
export declare function hashDirectory(directory: string, fs: typeof nodeFs): Promise<Record<string, string> | undefined>;
//# sourceMappingURL=write-output.d.ts.map