import { Command, Interfaces } from '@oclif/core'; import { RespanClient } from '@respan/respan-api'; import { AuthConfig } from './auth.js'; export type GlobalFlags = Interfaces.InferredFlags; export declare abstract class BaseCommand extends Command { static baseFlags: { 'api-key': Interfaces.OptionFlag; 'base-url': Interfaces.OptionFlag; profile: Interfaces.OptionFlag; json: Interfaces.BooleanFlag; csv: Interfaces.BooleanFlag; verbose: Interfaces.BooleanFlag; }; protected globalFlags: GlobalFlags; protected getAuth(): AuthConfig; protected getClient(): RespanClient; protected getAuthHeader(): string; protected getBaseUrl(): string; protected getOutputFormat(): 'json' | 'csv' | 'table'; protected outputResult(data: unknown, columns?: string[]): void; protected spin(label: string, fn: () => Promise): Promise; protected handleError(error: unknown): never; }