export type InstallMethod = "docker" | "homebrew" | "npm-global" | "npm-local" | "unknown"; /** * Information about the detected installation method and how to upgrade. */ export interface InstallInfo { method: InstallMethod; packageDir?: string; upgradeCommand: string; upgradeable: boolean; } /** * Detects how PrismCast was installed by examining the path of the running code. Detection order: Docker container, Homebrew, npm global, npm local, unknown. * @returns Installation information including method, whether it is upgradeable, and the appropriate upgrade command. */ export declare function detectInstallMethod(): InstallInfo;