import { Organization, OrganizationApp } from '../../models/organization.js';
import { OrganizationAppsResponse } from '../dev/fetch.js';
import { PartnersSession } from '../context/partner-account-info.js';
/**
 * Select an app from env, list or create a new one:
 * If there is no valid app yet, prompt the user to select one from the list or create a new one.
 * If no apps exists, we automatically prompt the user to create a new one.
 * @param app - Current local app information
 * @param apps - List of remote available apps
 * @param orgId - Current Organization
 * @returns The selected (or created) app
 */
export declare function selectOrCreateApp(localAppName: string, apps: OrganizationAppsResponse, org: Organization, partnersSession: PartnersSession, options?: {
    isLaunchable?: boolean;
    scopesArray?: string[];
    directory?: string;
}): Promise<OrganizationApp>;
export declare function createApp(org: Organization, appName: string, token: string, options?: {
    isLaunchable?: boolean;
    scopesArray?: string[];
    directory?: string;
}): Promise<OrganizationApp>;
