import type { CliOptions, OAuthScope } from '../utils/config/cli-options'; import type { TreeNode } from '../utils/terminal/layout'; export declare const APP_CONFIG_JSON_FILE_NAME = "app.config.json"; /** * Updates the application configuration JSON by adding a new action and ensuring * the necessary scopes are present. If the application is not hidden, it sets it to hidden. * Finally, it writes the updated configuration to a template file. */ export declare function updateAppConfigJson(options: { appConfig: CliOptions; actionName: string; /** Has the current working directory */ cwd: string; /** Whether to write to the filesystem or not */ dryRun?: boolean; }): Promise; /** * Ensures that the 'app-settings:objects:read' scope is present in the app configuration. * Returns the complete scopes array with the scope added if it wasn't already present. */ export declare function ensureAppSettingsReadScope(scopes: OAuthScope[]): OAuthScope[]; /** * Ensures that the 'app-settings:objects:write' scope is present in the app configuration. * Returns the complete scopes array with the scope added if it wasn't already present. */ export declare function ensureAppSettingsWriteScope(scopes: OAuthScope[]): OAuthScope[];