import { SfCommand } from '@salesforce/sf-plugins-core';
import type { SetupAgentsUpdateDocReferenceResult, SetupAgentsUpdateFetchRefsResult, StaleRuleFile } from '../../types/index.js';
export type SetupUpdateResult = {
    updated: string[];
    skipped: string[];
    staleFiles: StaleRuleFile[];
    availableActions: Array<'check' | 'dry-run' | 'update'>;
    cwd: string;
    docReference?: SetupAgentsUpdateDocReferenceResult;
    fetchRefs?: SetupAgentsUpdateFetchRefsResult;
};
export default class Update extends SfCommand<SetupUpdateResult> {
    static readonly summary: string;
    static readonly description: string;
    static readonly examples: string[];
    static readonly flags: {
        'dry-run': import("@oclif/core/interfaces").BooleanFlag<boolean>;
        check: import("@oclif/core/interfaces").BooleanFlag<boolean>;
        yes: import("@oclif/core/interfaces").BooleanFlag<boolean>;
        'doc-reference': import("@oclif/core/interfaces").BooleanFlag<boolean>;
        'fetch-refs': import("@oclif/core/interfaces").BooleanFlag<boolean>;
        force: import("@oclif/core/interfaces").BooleanFlag<boolean>;
    };
    run(): Promise<SetupUpdateResult>;
    private logStaleFiles;
    private runDryRunOrCheck;
    private promptConfirmation;
    private applyUpdates;
    private runForce;
    private runFetchRefs;
    private runDocReference;
}
