export type DistroId = 'debian' | 'ubuntu' | 'fedora' | 'rhel' | 'centos' | 'rocky' | 'almalinux' | 'arch' | 'manjaro' | 'alpine' | 'opensuse' | 'opensuse-leap' | 'opensuse-tumbleweed' | 'unknown';
export type PackageManager = 'brew' | 'conda' | 'apt' | 'dnf' | 'yum' | 'pacman' | 'zypper' | 'apk' | 'unknown';
export interface PlatformInfo {
    os: 'darwin' | 'linux' | 'other';
    distro: DistroId;
    /** Ordered preference: user-scope managers first, then system ones. */
    packageManagers: PackageManager[];
    isRoot: boolean;
    hasTty: boolean;
    /** True iff `sudo -n true` succeeds — i.e. NOPASSWD sudoers are configured. */
    passwordlessSudo: boolean;
}
export declare function detectPlatform(): PlatformInfo;
//# sourceMappingURL=detect-platform.d.ts.map