import type { PathSpec } from '@struktoai/mirage-core/types'; import type { NextcloudAccessor } from '../../accessor/nextcloud.ts'; /** * Create a collection; opendal creates missing parents either way. * * `parents` is accepted for the op signature and ignored, because * `createDir` is MKCOL over every missing level whatever it says. That is * also why the ancestor invalidation is unconditional: a bare `mkdir a/b/c` * materializes a whole chain here, and gating the walk on `parents` (as the * backends whose mkdir really does create one level correctly do) left every * ancestor above the parent serving a cached listing that hid the new levels * until the index TTL expired. */ export declare function mkdir(accessor: NextcloudAccessor, path: PathSpec, _parents?: boolean): Promise; //# sourceMappingURL=mkdir.d.ts.map