import Connection from '../connection'; import { Registry, ConnectionConfig, ClientConfig } from './types'; import { Schema } from '../types'; type SfdxOrgList = { nonScratchOrgs: SfdxOrgInfo[]; scratchOrgs: SfdxOrgInfo[]; }; type SfdxOrgInfo = { orgId: string; accessToken: string; instanceUrl: string; loginUrl: string; username: string; clientId: string; isDevHub: boolean; connectedStatus: string; lastUsed: string; alias?: string; }; /** * */ export declare class SfdxRegistry implements Registry { _cliPath: string | undefined; _orgList: Promise | undefined; _orgInfoMap: { [name: string]: Promise; }; _defaultOrgInfo: Promise | undefined; constructor({ cliPath }: { cliPath?: string; }); _createCommand(command: string, options?: { [option: string]: any; }, args?: string[]): string; _execCommand(command: string, options?: { [option: string]: any; }, args?: string[]): Promise; _getOrgList(): Promise; getConnectionNames(): Promise; getConnection(name?: string): Promise | null>; _getOrgInfo(username?: string): Promise; _memoOrgInfo(pOrgInfo: Promise, username?: string): void; getConnectionConfig(name?: string): Promise<{ accessToken: string; instanceUrl: string; loginUrl: string; } | null>; saveConnectionConfig(_name: string, _connConfig: ConnectionConfig): Promise; setDefaultConnection(_name: string): Promise; removeConnectionConfig(name: string): Promise; getClientConfig(_name: string): Promise; getClientNames(): Promise; registerClientConfig(_name: string, _clientConfig: ClientConfig): Promise; } export {};