import { ConfigFile, ConfigSectionReader, ConfigSectionWriter, NO_VALIDATION_TYPE } from '../config/index.js'; import { CreateAppInput } from '../graphql/index.js'; import { Logger } from '../ui/index.js'; import { AppDetails } from './app-config.js'; export type AppCompatibility = Record; export interface CreateAppClientInput { name: string; description?: string; developerSpaceId?: string; billingConsent?: boolean; appFeatures?: CreateAppInput['appFeatures']; } export interface CreateAppResult { id: string; environments: { key: string; }[]; } export interface CreateAppClient { createApp(input: CreateAppClientInput): Promise; } export type RegisterAppResult = { environments: string[]; analytics: { appId: string; appName: string; }; }; export declare class RegisterAppCommand { private readonly appClient; private readonly appConfigReader; private readonly appConfigWriter; private readonly logger; private readonly configFile; constructor(appClient: CreateAppClient, appConfigReader: ConfigSectionReader, appConfigWriter: ConfigSectionWriter, logger: Logger, configFile: ConfigFile); execute(input: CreateAppClientInput, { shouldPrependAppName }?: { shouldPrependAppName?: boolean | undefined; }): Promise; registerApp(input: CreateAppClientInput, directory: string, { shouldPrependAppName, compatibility }: { shouldPrependAppName: boolean; compatibility?: AppCompatibility; }): Promise; } //# sourceMappingURL=register-app.d.ts.map