import Snapshot from "./snapshot"; declare class VirtualObjectManager { #private; constructor(); /** * Finds the closest parent snapshot of the given path by traversing upward from it. * If no parent snapshot is found, creates a new snapshot for the given path. * @param path_ The path to find the closest parent snapshot for. * @returns A Promise that resolves with the closest parent snapshot of the given path. */ snapshot(path_: string): Promise; /** * Resets the dispatch interval for checking for changes in the virtual object structure. * If the dispatch interval is already running, it will be cleared and restarted. * The dispatch interval is used to check for changes such as added, removed, or renamed files and directories. * @since v1.0.0 */ dispatch(): void; /** * Pauses the dispatch interval for checking for changes in the virtual object structure. * The dispatch interval is used to check for changes such as added, removed, or renamed files and directories. * @since v1.1.0 */ pause(): void; /** * Whether the VirtualObjectManager is currently running and checking for changes. * @returns true if the VirtualObjectManager is running, false otherwise. * @since v1.1.0 */ get isRunning(): boolean; /** * The interval (in milliseconds) at which the virtual object structure is checked for changes. * This interval is used to check for changes such as added, removed, or renamed files and directories. * @returns The interval at which the virtual object structure is checked for changes. Default is 1000ms. */ get dispatchInterval(): number; /** * Sets the interval (in milliseconds) at which the virtual object structure is checked for changes. * This interval is used to check for changes such as added, removed, or renamed files and directories. * @param ms - The new interval at which the virtual object structure is checked for changes. * @throws {Error} If `ms` is not a finite number between 1000ms and 60000ms. */ set dispatchInterval(ms: number); } export default VirtualObjectManager;