import type { LixEngine } from "../../engine/boot.js";
export declare function getActiveVersionId(engine: Pick<LixEngine, "executeSync">): string;
export declare function readDirectoryByPath(args: {
    engine: Pick<LixEngine, "executeSync">;
    versionId: string;
    path: string;
}): {
    id: string;
    parent_id: string | null;
    path: string;
} | undefined;
export declare function readDirectoryPathById(args: {
    engine: Pick<LixEngine, "executeSync">;
    versionId: string;
    directoryId: string;
}): string | undefined;
export declare function assertNoFileAtPath(args: {
    engine: Pick<LixEngine, "executeSync">;
    versionId: string;
    filePath: string;
}): void;
export declare function assertNoDirectoryAtFilePath(args: {
    engine: Pick<LixEngine, "executeSync">;
    versionId: string;
    filePath: string;
}): void;
export declare function computeDirectoryPath(args: {
    engine: Pick<LixEngine, "executeSync">;
    versionId: string;
    parentId: string | null;
    name: string;
}): string;
export declare function ensureDirectoryAncestors(args: {
    engine: Pick<LixEngine, "executeSync" | "hooks">;
    versionId?: string;
    filePath: string;
}): void;
export declare function ensureDirectoryPathExists(args: {
    engine: Pick<LixEngine, "executeSync" | "hooks">;
    versionId: string;
    path: string;
}): string | null;
export declare function composeDirectoryPath(args: {
    engine: Pick<LixEngine, "executeSync">;
    versionId: string;
    directoryId: string | null;
}): string | undefined;
//# sourceMappingURL=ensure-directories.d.ts.map