export declare interface CliOptions { level?: string name?: string json?: boolean timestamp?: boolean color?: boolean verbose?: boolean format?: 'json' | 'text' output?: string start?: string end?: string compress?: boolean lines?: number follow?: boolean caseSensitive?: boolean context?: number before?: string dryRun?: boolean force?: boolean key?: string value?: string action?: 'get' | 'set' | 'list' | 'reset' } export declare interface LogOptions { level?: string name?: string meta?: string } export declare interface ConfigHandlers { load: () => Promise> save: (config: Record) => Promise } export declare interface Logger { debug: (message: string, ...args: any[]) => Promise info: (message: string, ...args: any[]) => Promise success: (message: string, ...args: any[]) => Promise warn: (message: string, ...args: any[]) => Promise error: (message: string | Error, ...args: any[]) => Promise getLogDirectory: () => string createReadStream: () => NodeJS.ReadableStream clear: (filters?: { name?: string, before?: Date }) => Promise } export declare interface WatchOptions { level?: string name?: string format?: 'json' | 'text' timestamp?: boolean colors?: boolean } export declare interface ExportOptions { level?: string name?: string format?: 'json' | 'text' start?: Date end?: Date } export declare interface TailOptions { level?: string name?: string colors?: boolean lines?: number } export declare interface SearchOptions { level?: string name?: string pattern: string caseSensitive?: boolean context?: number start?: Date end?: Date } export declare interface ClearOptions { level?: string name?: string before?: Date } export type ConfigAction = 'get' | 'set' | 'list' | 'reset';