import type Sync from "./sync"; import { type RemoteTree, type RemoteItem } from "./filesystems/remote"; import { type LocalTree, type LocalItem } from "./filesystems/local"; import { type DoneTask } from "./tasks"; /** * State * @date 3/1/2024 - 11:11:32 PM * * @export * @class State * @typedef {State} */ export declare class State { private readonly sync; readonly statePath: string; readonly previousLocalTreePath: string; readonly previousLocalINodesPath: string; readonly previousRemoteTreePath: string; readonly previousRemoteUUIDsPath: string; readonly localFileHashesPath: string; constructor(sync: Sync); applyDoneTasksToState({ doneTasks, currentLocalTree, currentRemoteTree }: { doneTasks: DoneTask[]; currentLocalTree: LocalTree; currentRemoteTree: RemoteTree; }): { currentLocalTree: LocalTree; currentRemoteTree: RemoteTree; }; writeLargeRecordSerializedAndAtomically(destination: string, record: Record): Promise; readLargeRecordFromLineStream(inputPath: string): Promise>; saveLocalFileHashes(): Promise; loadLocalFileHashes(): Promise; initialize(): Promise; save(): Promise; loadPreviousTrees(): Promise; savePreviousTrees(): Promise; clear(): Promise; } export default State;