import { Command, type Interfaces } from "@oclif/core"; import { type PolypotRuntimeConfigSources } from "./config/loader.js"; import type { PolypotConfig } from "./config/schema.js"; import type { PolypotSecrets } from "./config/secrets.js"; export type BaseFlags = Interfaces.InferredFlags; export type BaseArgs = Interfaces.InferredArgs; /** * Command base class that loads Polypot config first. */ export declare abstract class BaseCommand extends Command { protected flags: BaseFlags; protected args: BaseArgs; protected appConfig: PolypotConfig; protected appConfigSources: PolypotRuntimeConfigSources; protected runtimeSecrets: PolypotSecrets; /** * Parse command input and load runtime config. */ init(): Promise; }