/** Reads the index files and every config they list. `taken` lists the files already in the config directories. */ export declare function readProject(dir: string): Promise<{ files: Record; taken: string[]; }>; /** Writes each file owner-only, creating directories as needed, never through a symlink or outside the project. */ export declare function writeProjectFiles(dir: string, files: [string, string][]): Promise;