/**
 * Shared global bootstrap logic for CLEO.
 *
 * Contains the shared functions used by BOTH:
 *   - `bin/postinstall.js` (npm postinstall hook)
 *   - `cleo install-global` CLI command
 *
 * This is the single source of truth for global setup operations.
 * This is the SSoT — postinstall and self-update both delegate here.
 *
 * @task T5267
 */
/** Result tracking arrays passed through each bootstrap step. */
export interface BootstrapContext {
    created: string[];
    warnings: string[];
    isDryRun: boolean;
}
/** Options for bootstrapGlobalCleo. */
export interface BootstrapOptions {
    /** Preview changes without applying. */
    dryRun?: boolean;
    /** Override package root for template/skill discovery. */
    packageRoot?: string;
}
/**
 * Bootstrap the global CLEO directory structure and install templates.
 *
 * Creates:
 *   - ~/.local/share/cleo/templates/CLEO-INJECTION.md (XDG primary)
 *   - ~/.cleo/templates/CLEO-INJECTION.md (legacy sync)
 *   - ~/.agents/AGENTS.md with CAAMP injection block
 *
 * This is idempotent — safe to call multiple times.
 */
export declare function bootstrapGlobalCleo(options?: BootstrapOptions): Promise<BootstrapContext>;
/**
 * No-op. Kept for API compatibility.
 */
export declare function installMcpToProviders(_ctx: BootstrapContext): Promise<void>;
/**
 * Install CLEO core skills globally via CAAMP.
 */
export declare function installSkillsGlobally(ctx: BootstrapContext): Promise<void>;
//# sourceMappingURL=bootstrap.d.ts.map