import { F as File, L as LocalMetaStorageOptions, M as MetaStorage } from "./storage.d-Cnjmzau5.js"; /** * Stores upload metafiles on local disk */ declare class LocalMetaStorage extends MetaStorage { override readonly supportsConditionalSave: boolean; readonly directory: string; constructor(config?: LocalMetaStorageOptions); /** * Returns metafile path. * @param id upload id * @throws {UploadError} If the id resolves to a path outside the meta directory (e.g. via `..` traversal or absolute paths). */ getMetaPath: (id: string) => string; override save(id: string, file: T): Promise; override saveIfVersion(id: string, file: T, version: string): Promise; override touch(id: string, file: T): Promise; override get(id: string): Promise; override list(): Promise; override delete(id: string): Promise; /** * Runs `function_` while holding the `.lock` file next to `path`, created exclusively so only * one process at a time can hold it. */ private withFileLock; private accessCheck; } export { LocalMetaStorage as L };