import type { PackageJson } from "pkg-types";
import type { IntegrationConfig, RemovalConfig } from "../../sdk-types.js";
/**
 * Updates package.json fields with comprehensive options
 * @param projectPath - Path to the project directory containing package.json
 * @param options - Configuration options for the update
 * @returns Promise resolving to true if successful, false otherwise
 */
export declare function updatePackageJson(projectPath: string, options?: {
    /** Full or partial package.json fields to update */
    fields?: Partial<PackageJson>;
    /** Scripts to add or update */
    scripts?: Record<string, string>;
    /** Whether to throw errors instead of returning false */
    throwOnError?: boolean;
}): Promise<boolean>;
export declare function installIntegration(cwd: string, config: IntegrationConfig, isDev: boolean): Promise<void>;
export declare function removeIntegration(cwd: string, config: RemovalConfig): Promise<void>;
