/** * @file Package management utilities for DLX installations. */ /** * Check if a package is installed in DLX. * * @example * ;```typescript * if (isDlxPackageInstalled('prettier')) { * console.log('prettier is installed') * } * ``` */ export declare function isDlxPackageInstalled(packageName: string): boolean; /** * List all packages installed in DLX. * * @example * ;```typescript * const packages = listDlxPackages() * console.log('Installed:', packages.join(', ')) * ``` */ export declare function listDlxPackages(): string[]; /** * List all packages installed in DLX asynchronously. * * @example * ;```typescript * const packages = await listDlxPackagesAsync() * console.log('Installed:', packages.join(', ')) * ``` */ export declare function listDlxPackagesAsync(): Promise; /** * Remove a DLX package installation. * * @example * ;```typescript * await removeDlxPackage('prettier') * ``` */ export declare function removeDlxPackage(packageName: string): Promise; /** * Remove a DLX package installation synchronously. * * @example * ;```typescript * removeDlxPackageSync('prettier') * ``` */ export declare function removeDlxPackageSync(packageName: string): void;