import { CID } from "multiformats/cid";
import * as Depot from "./components/depot/implementation.js";
import * as Path from "./path/index.js";
import FileSystem, { Dependencies } from "./fs/filesystem.js";
import { Configuration } from "./configuration.js";
/**
 * Load a user's file system.
 */
export declare function loadFileSystem({ config, dependencies, rootKey, username }: {
    config: Configuration;
    dependencies: Dependencies;
    rootKey?: Uint8Array;
    username: string;
}): Promise<FileSystem>;
export declare function checkFileSystemVersion(depot: Depot.Implementation, config: Configuration, filesystemCID: CID): Promise<void>;
export declare const ROOT_PERMISSIONS: {
    fs: {
        private: Path.DirectoryPath[];
        public: Path.DirectoryPath[];
    };
};
/**
 * Load a user's root file system.
 */
export declare const loadRootFileSystem: (options: {
    config: Configuration;
    dependencies: Dependencies;
    rootKey?: Uint8Array;
    username: string;
}) => Promise<FileSystem>;
