import { ApolloClient } from '@apollo/client/core'; import { ContentstackClient, FlagInput } from '@contentstack/cli-utilities'; import { ConfigType, LogFn } from '../types'; type CommpnOptions = { log: LogFn; managementSdk: ContentstackClient; }; declare function getOrganizations(options: CommpnOptions, skip?: number, organizations?: Record[]): Promise[]>; declare function selectOrg(options: CommpnOptions & { flags: FlagInput; config: ConfigType; }): Promise; /** * @method selectProject - select projects * * @return {*} {Promise} * @memberof Logs */ declare function selectProject(options: { log: LogFn; flags: FlagInput; config: ConfigType; apolloClient: ApolloClient; }): Promise; /** * Resolve the `X-CS-CLI` header value. oclif reloads the Config after the init hook, so * `context.analyticsInfo` is often undefined at command runtime; reconstruct it from the * Config and the persisted config store (clientId/sessionId) when that happens. */ declare function getAnalyticsInfo(context?: Record, config?: Record): string; declare function getLaunchHubUrl(): string; export { getOrganizations, selectOrg, selectProject, getLaunchHubUrl, getAnalyticsInfo };