import type { Command } from 'commander'; /** * Shared configuration for the polter command * Used by both standalone polter and poltergeist subcommand */ export interface PolterOption { flag: string; description: string; defaultValue?: string | boolean; } export interface ParsedPolterOptions { timeout: number; force: boolean; noWait: boolean; verbose: boolean; showLogs: boolean; logLines: number; watch: boolean; restartSignal: NodeJS.Signals; restartDelay: number; help?: boolean; } /** * Definition of all polter command options */ export declare const POLTER_OPTIONS: PolterOption[]; /** * Parse raw command options into structured format */ export declare function parsePolterOptions(options: any): ParsedPolterOptions; /** * Configure a Commander command with polter options */ export declare function configurePolterCommand(command: Command): Command; /** * Get the command description for help text */ export declare function getPolterDescription(): string; /** * Shared unhandled rejection handler for polter commands */ export declare function setupPolterErrorHandling(): void; //# sourceMappingURL=polter-command.d.ts.map