import { type GitCloneProtocol, type GitProvider } from "./providers/git-provider.js"; import type { LibraryInstallerLogger, LibraryInstallSource, LibraryItemKind, LibraryItemMetadata } from "./types.js"; export declare class LibraryInstallerError extends Error { constructor(message: string, options?: { cause?: unknown; }); } export interface InstallOptions { name?: string; force?: boolean; logger?: LibraryInstallerLogger; protocol?: GitCloneProtocol; depth?: number; provider?: GitProvider; now?: () => Date; required?: boolean; labels?: string[]; libraryRoot?: string; } export interface ListOptions { kind?: LibraryItemKind; libraryRoot?: string; } export interface RemoveOptions { kind: LibraryItemKind; name: string; libraryRoot?: string; } export interface LibraryListEntry extends LibraryItemMetadata { } export declare function installBundle(source: LibraryInstallSource, options?: InstallOptions): Promise; export declare function installPackage(source: LibraryInstallSource, options?: InstallOptions): Promise; export declare function installPrompt(source: LibraryInstallSource, options?: InstallOptions): Promise; export declare function installMcp(source: LibraryInstallSource, options?: InstallOptions): Promise; export declare function installSkills(source: LibraryInstallSource, options?: InstallOptions): Promise; export declare function listLibraryItems(options?: ListOptions): Promise; export declare function removeLibraryItem(options: RemoveOptions): Promise;