/**
 * @file Directory management utilities for DLX installations.
 */
/**
 * Clear all DLX package installations.
 *
 * @example
 *   ;```typescript
 *   await clearDlx()
 *   ```
 */
export declare function clearDlx(): Promise<void>;
/**
 * Clear all DLX package installations synchronously.
 *
 * @example
 *   ;```typescript
 *   clearDlxSync()
 *   ```
 */
export declare function clearDlxSync(): void;
/**
 * Check if the DLX directory exists.
 *
 * @example
 *   ;```typescript
 *   if (dlxDirExists()) {
 *     console.log('DLX directory is present')
 *   }
 *   ```
 */
export declare function dlxDirExists(): boolean;
/**
 * Ensure the DLX directory exists, creating it if necessary.
 *
 * @example
 *   ;```typescript
 *   await ensureDlxDir()
 *   ```
 */
export declare function ensureDlxDir(): Promise<void>;
/**
 * Ensure the DLX directory exists synchronously, creating it if necessary.
 *
 * @example
 *   ;```typescript
 *   ensureDlxDirSync()
 *   ```
 */
export declare function ensureDlxDirSync(): void;
