import { SfCommand } from '@salesforce/sf-plugins-core';
import { Connection } from '@salesforce/core';
import { AnyJson } from '@salesforce/ts-types';
export default class OrgRefreshBeforeRefresh extends SfCommand<AnyJson> {
    static description: string;
    static examples: string[];
    static flags: {
        "target-org": import("@oclif/core/interfaces").OptionFlag<import("@salesforce/core").Org, import("@oclif/core/interfaces").CustomOptions>;
        delete: import("@oclif/core/interfaces").BooleanFlag<boolean>;
        name: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
        all: import("@oclif/core/interfaces").BooleanFlag<boolean>;
        websocket: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
        skipauth: import("@oclif/core/interfaces").BooleanFlag<boolean>;
    };
    static requiresProject: boolean;
    protected conn: Connection;
    protected saveProjectPath: string;
    protected orgUsername: string;
    protected instanceUrl: string;
    protected refreshSandboxConfig: any;
    protected result: any;
    protected processAll: boolean;
    protected nameFilter: string | undefined;
    protected deleteApps: boolean;
    run(): Promise<AnyJson>;
    private createSaveProject;
    private retrieveDeleteConnectedApps;
    private getConnectedApps;
    private selectConnectedApps;
    private processConnectedApps;
    private retrieveConnectedAppsFromOrg;
    private verifyConnectedAppsRetrieval;
    private queryConnectedAppIds;
    private initializeBrowser;
    private processIndividualApp;
    private extractApplicationId;
    private extractConsumerSecret;
    private updateConnectedAppWithSecret;
    private saveConfig;
    private saveMetadatas;
    private createSavePackageXml;
    private retrieveMetadatasToSave;
    private generatePackageXmlToRestore;
    private retrieveCertificates;
    private saveCustomSettings;
    private saveRecords;
}
