import { Command } from 'commander'; import { ICommand } from '../lib/command-registry.js'; import { ApiClientFactoryOptions } from '../lib/api-client-factory.js'; import { OutputFormat } from '../lib/output-format.js'; import { MergeConfiguration } from '../types.js'; export interface GrokParseCommandOptions extends ApiClientFactoryOptions { quiet?: boolean; timezone?: string; output?: string; format?: OutputFormat; color?: boolean; timestamps?: boolean; pattern?: string; sample?: string; samplesFile?: string; extractAttribute?: string; helperRules?: string[]; maxDepth?: number; maxLines?: number; } /** * Grok parse command implementation for testing Grok patterns against log samples */ export declare class GrokParseCommand implements ICommand { private formatter; private apiClient; /** * Get the command name */ getCommandName(): string; /** * Get the command description */ getCommandDescription(): string; /** * Add this command to the program */ addToProgram(program: Command, mergeConfiguration: MergeConfiguration): void; /** * Execute the grok parse operation */ execute(options: GrokParseCommandOptions): Promise; /** * Build the grok parse batch request from options */ private buildGrokParseBatchRequest; /** * Create API client using shared factory */ private createApiClient; /** * Setup formatter for output */ private setupFormatter; /** * Format and output data */ private formatAndOutput; /** * Convert grok API response to display format */ private formatGrokResults; /** * Show parsing summary */ private showParsingSummary; /** * Show batch parsing summary */ private showBatchSummary; } //# sourceMappingURL=grok-command.d.ts.map