import { AppCommand } from './app-command.js'; import { App, AppConfig, AppVersion } from './lib/apps/index.js'; /** * Extends the AppCommand with methods that ease managing remote apps and * configurations. */ export declare abstract class RemoteAppCommand extends AppCommand { static delayOrientation: boolean; static orientation: AppCommandOrientation; app: App; appCreated: boolean; appType: string; storefront?: any; storefrontLocalUrl?: string; themeSyncApp?: boolean; appFrontendUrl(storeId: string, installedAppId: string): string; cleanRemoteConfigs(remoteConfigs: AppConfig[], deleteDeprecated?: boolean): Promise; dashboardUrl(flags?: { [flag: string]: any; }, storeId?: string): string; deleteConfig(configId: string, filePath?: string, appConfigId?: string): Promise; protected getApp(id?: string): Promise; protected getAppWithConfig(id?: string): Promise; getConfigData(configId: string): Promise; protected getCreateUpdateApp(updateApp?: App | null): Promise; protected getInstalledApp(): Promise; protected getLocalAppConfigs(): AppConfig[]; protected getVersion(version?: null | string | undefined): Promise; protected getVersions(version?: null | string | undefined): Promise; protected handleRequestErrors(request: () => any, spinnerError?: () => void): Promise; init(): Promise; protected installApp(version: string, spinner?: any): Promise; isConfigDeprecated(config: AppConfig): boolean; localFrontendUrl(storeId: string, localId: string): string; logOrientation(orientation?: AppCommandOrientation): Promise; postConfigData(configJson: any): Promise; protected pullAppConfigs(force?: boolean, confirmRemove?: boolean): Promise<{ pulled: string[]; removed: string[]; }>; pullAppJsonAndRemoteConfigs(): Promise; protected pullRemoteFile(config: AppConfig, log?: boolean): Promise; protected pushAppConfigs(force?: boolean): Promise<{ pushed: string[]; removed: string[]; }>; protected pushRemoteFile(config: AppConfig, log?: boolean): Promise; protected removeLocalFile(config: AppConfig, log?: boolean): Promise; protected removeRemoteFile(config: AppConfig, log?: boolean): Promise; protected showErrors(errors: any, spinnerError?: () => void): void; storefrontFrontendUrl(storeId: string, storefront?: any, branchId?: string, preview?: boolean): string; protected swellRcPath(): string; protected timestampStyled(): string; protected updateInstalledApp(version: string, spinner?: any): Promise; protected updateVersion(version: string, body: any, spinner?: any): Promise; /** * Reads the .swellrc file and sets up the remote app configuration. * * @returns App */ private initApp; private showOrientation; }