import Command, { flags } from '@oclif/command'; import * as OClifConfig from '@oclif/config'; import _inquirer from '@cto.ai/inquirer'; import { Config, User, Team, ValidationFields, SigninPipeline, Tokens, Services } from './types'; declare abstract class CTOCommand extends Command { accessToken: string; user: User; team: Team; state: { config: Config; }; ux: { print: (text: string) => Promise; prompt: (questions: _inquirer.ListQuestion> | _inquirer.RawListQuestion> | _inquirer.ExpandQuestion> | _inquirer.CheckboxQuestion> | _inquirer.CheckboxPlusQuestion> | _inquirer.EmojiQuestion> | _inquirer.FuzzyPathQuestion> | _inquirer.ConfirmQuestion> | _inquirer.InputQuestion> | _inquirer.NumberQuestion> | _inquirer.PasswordQuestion> | _inquirer.EditorQuestion> | _inquirer.AutoCompleteQuestion> | _inquirer.DatePickerQuestion> | _inquirer.Question>[]) => Promise; colors: import("chalk").Chalk & { supportsColor: import("chalk").ColorSupport; } & { callOutCyan: (text: string) => string; actionBlue: (text: string) => string; primary: (text: string) => string; secondary: (text: string) => string; tertiary: (text: string) => string; successGreen: (text: string) => string; errorRed: (text: string) => string; multiPurple: (text: string) => string; multiBlue: (text: string) => string; multiOrange: (text: string) => string; }; spinner: { start: (text: string) => void; stop: (text: string) => void; }; wait: (duration: number) => Promise; url: (text: string, url: string) => string; annotation: (text: string, annotation: string) => void; table: typeof import("cli-ux/lib/styled/table").table; tree: typeof import("cli-ux/lib/styled/tree").default; progress: { init: (options?: import("cli-progress").Options | undefined) => import("cli-progress").Bar; }; notify: (options: object) => void; inquirer: _inquirer.Inquirer; }; services: Services; constructor(argv: string[], config: OClifConfig.IConfig, services?: Services); init(): Promise; isTokenValid: (tokens: Tokens) => boolean; checkAndRefreshAccessToken: (tokens: Tokens) => Promise; isLoggedIn(): Promise; fetchUserInfo: ({ tokens }: SigninPipeline) => Promise<{ meResponse: { me: { id: any; username: any; email: any; }; teams: Team[]; }; tokens: Tokens; }>; writeConfig: (oldConfigObj: Partial | null | undefined, newConfigObj: Partial) => Promise>; readConfig: () => Promise; clearConfig: () => Promise; invalidateKeycloakSession: () => Promise; initConfig: (tokens: Tokens) => Promise; validateUniqueField(query: ValidationFields): Promise; } export { CTOCommand as default, flags };