/** Result of the Copilot plugin install pass. */
export interface CopilotPluginInstallResult {
    /** True when copilot was on PATH and an install was attempted. */
    readonly attempted: boolean;
    /** True when the install command exited 0. False on any error. */
    readonly installed: boolean;
    /** Which install path was used: "marketplace" or "local". */
    readonly via: "marketplace" | "local" | undefined;
    /** Resolved source argument passed to `copilot plugin install`. */
    readonly source: string | undefined;
    /** Error message captured on failure, or undefined on success/no-op. */
    readonly error: string | undefined;
}
/**
 * Install Lisa's Copilot plugin variant.
 *
 * Tries the marketplace path first (forward-compatible with the
 * marketplace.json `pluginRoot` doubling fix from Wave 2 spec step 8). On
 * marketplace failure (including the "plugin source directory not found"
 * error caused by today's marketplace shape), falls back to local-path
 * install against `plugins/lisa-copilot/` from the Lisa package.
 *
 * @param lisaPluginRoot - Absolute path to Lisa's `plugins/` directory.
 * @param variantName - Variant directory name under `lisaPluginRoot` to install
 *   (default `lisa-copilot`, the base variant). Stack variants are
 *   `lisa-<stack>-copilot` (e.g. `lisa-typescript-copilot`).
 * @param marketplaceRef - Marketplace install ref. Defaults to
 *   `<variantName>@CodySwannGT/lisa`.
 * @returns Install result.
 */
export declare function installCopilotPlugin(lisaPluginRoot: string, variantName?: string, marketplaceRef?: string): Promise<CopilotPluginInstallResult>;
//# sourceMappingURL=plugin-installer.d.ts.map