import type nodeFs from "node:fs";
import type fs from "node:fs/promises";
import type { InlangProject } from "./api.js";
type SaveProjectFs = typeof fs | typeof nodeFs;
/**
 * Saves a project to a directory.
 *
 * Writes all project files to disk and runs exporters to generate
 * resource files (e.g., JSON translation files).
 *
 * @example
 *   await saveProjectToDirectory({
 *     fs: await import("node:fs"),
 *     project,
 *     path: "./project.inlang",
 *   });
 */
export declare function saveProjectToDirectory(args: {
    /**
     * The file system module to use for writing files.
     *
     * Accepts either `node:fs` or `node:fs/promises`.
     */
    fs: SaveProjectFs;
    /**
     * The inlang project to save.
     */
    project: InlangProject;
    /**
     * The path to the inlang project directory. Must end with `.inlang`.
     */
    path: string;
    /**
     * If `true`, skips running exporters and only writes internal project files.
     *
     * Useful when you only want to update project metadata without
     * regenerating resource files.
     */
    skipExporting?: boolean;
}): Promise<void>;
export {};
//# sourceMappingURL=saveProjectToDirectory.d.ts.map