import { DataBricksBase, ConstructorProps } from './index'; export declare enum LibraryInstallStatus { PENDING = "PENDING", RESOLVING = "RESOLVING", INSTALLING = "INSTALLING", INSTALLED = "INSTALLED", FAILED = "FAILED", UNINSTALL_ON_RESTART = "UNINSTALL_ON_RESTART" } export declare type ClusterLibraryStatuses = { cluster_id: string; library_statuses: LibraryFullStatus[]; }; export declare type Library = { jar: string; } | { egg: string; } | { whl: string; } | { pypi: PythonPyPiLibrary; } | { maven: MavenLibrary; } | { cran: RCranLibrary; }; export declare type LibraryFullStatus = { library: Library; status: LibraryInstallStatus; messages: string[]; is_library_for_all_clusters: boolean; }; export declare type MavenLibrary = { coordinates: string; repo?: string; exclusions?: string[]; }; export declare type PythonPyPiLibrary = { package: string; repo?: string; }; export declare type RCranLibrary = { package: string; repo?: string; }; export default class Libraries extends DataBricksBase { LibraryInstallStatus: typeof LibraryInstallStatus; constructor(args: ConstructorProps); allClustersStatuses(): Promise<{ statuses: ClusterLibraryStatuses[]; }>; clusterStatus(param: { cluster_id: string; }): Promise<{ cluster_id: string; library_statuses: LibraryFullStatus[]; }>; install(param: { cluster_id: string; libraries: Library[]; }): Promise; uninstall(param: { cluster_id: string; libraries: Library[]; }): Promise; }