import type { CommandRunner, CommandCheck } from "../utils/command-checks.js";
export interface InstallContext {
    isDryRun: boolean;
    runCommand: CommandRunner;
    logger: (message: string) => void;
    platform: NodeJS.Platform;
}
export interface InstallCommand {
    id: string;
    command: string;
    args: string[];
    platforms?: NodeJS.Platform[];
}
export interface ServiceInstallDefinition {
    id: string;
    summary: string;
    check: CommandCheck;
    steps: InstallCommand[];
    postChecks?: CommandCheck[];
    successMessage?: string;
}
export declare function runServiceInstall(definition: ServiceInstallDefinition, context: InstallContext): Promise<boolean>;
