import type { Files } from "../../index.js"; /** * Mark `dir` — a normalized key prefix without a trailing slash — as `plugin`'s * private storage on `files`. Called from the plugin's `extend`, which re-runs * on every instance derived from it (`files.readonly()`). */ export declare const reserveKeyPrefix: (files: Files, plugin: string, dir: string) => void; /** Every key prefix a plugin on `files` has reserved. */ export declare const reservedKeyPrefixes: (files: Files) => string[]; /** * Whether `key` (or a list prefix) is a reserved dir itself or lies anywhere * beneath one — exactly the keys and prefixes the plugins neither hide from * `list()` nor treat as live objects. Matched however the key is spelled: a * case-insensitive store resolves `.TRASH/x` to the trash, and a Windows * filesystem reads `.trash\x` as a path inside it. */ export declare const isReservedKey: (key: string, dirs: readonly string[]) => boolean; //# sourceMappingURL=reserved.d.ts.map