import { FileType, IMergeRule, ISnapshot } from '../types/base.js'; import { ISharedConfig } from '../types/config.js'; export declare const readFile: (filePath: string) => Promise; export declare const getHash: (data: string) => string; export declare const getType: (filePath: string) => FileType; export declare const writeFile: (filePath: string, data: string | string[], executable?: boolean) => Promise; export declare const createSnapshot: (filePath: string, sharedDir: string, mergeRules: Map, executableFiles: Set) => Promise; export declare const createSnapshots: (dir: string, config: Pick) => Promise; export declare const mergeFiles: (name: string, content: string, { type, merge: rules, content: snapshot }: ISnapshot) => string;