import { Subject } from 'rxjs'; import { Display } from './display'; import { LogStream } from './logstream'; import { LogStreamPanel } from './logstreampanel'; import { Input } from './input'; import { Command } from './commandpanel'; export declare class Sift { display: Display; input: Input; logStreams: { stream: LogStream; panel: LogStreamPanel; }[]; exitLogs: Array<{ level?: string; message: any; }>; siftLogStream: LogStream; siftLogStreamPanel: LogStreamPanel; siftLogsSubject: Subject; currentLogStreamPanel: LogStreamPanel; protected queryChangedSubject: Subject; protected textPromptOnSubmit?: (text: string) => void; protected textPromptOnCancel?: () => void; constructor(); spawnProcess(exec: string, args?: string[]): void; terminateProcess(logStream: LogStream): void; close(): void; protected updateFilterPanel(logStreamPanel: LogStreamPanel): void; onQueryChanged(): void; promptTextInput(label: string, onSubmit: (text: string) => void, onCancel?: () => void, startingText?: string): void; actions: { 0: { closeLogStream: Input.Action; selectPanelLeft: Input.Action; selectPanelRight: Input.Action; toggleSelection: Input.Action; moveSelectionUp: Input.Action; moveSelectionDown: Input.Action; scrollUp: Input.Action; scrollDown: Input.Action; scrollLeft: Input.Action; scrollRight: Input.Action; pageUp: Input.Action; pageDown: Input.Action; scrollStart: Input.Action; scrollEnd: Input.Action; toggleSearchMode: Input.Action; selectNextMatch: Input.Action; selectPreviousMatch: Input.Action; queryCursorLeft: Input.Action; queryCursorRight: Input.Action; backspace: Input.Action; delete: Input.Action; clearQuery: Input.Action; fuzzyThresholdBroaden: Input.Action; fuzzyThresholdNarrow: Input.Action; }; 1: { enterCommandMode: Input.Action; exitCommandMode: Input.Action; insertBackslash: Input.Action; closeWindow: Input.Action; gotoLog: Input.Action; spawnProcess: Input.Action; splitWindowVertical: Input.Action; displayHelp: Input.Action; }; 2: { enterFilterMode: Input.Action; exitFilterMode: Input.Action; selectPanelLeft: Input.Action; selectPanelRight: Input.Action; }; 3: { enterFormatMode: Input.Action; exitFormatMode: Input.Action; moveFormatSelectionUp: Input.Action; moveFormatSelectionDown: Input.Action; toggleFormatEnabled: Input.Action; }; 4: { submitText: Input.Action; cancelText: Input.Action; textCursorLeft: Input.Action; textCursorRight: Input.Action; backspace: Input.Action; delete: Input.Action; }; }; bindings: { [mode in Input.Mode]: { [key: string]: Input.Action; }; }; commands: Command[]; protected handleQueryInput: (name: string, matches: string[], data: any) => void; protected handleCommandInput: (name: string, matches: string[], data: any) => void; protected handleTextInput: (name: string, matches: string[], data: any) => void; protected handleFilterInput: (name: string, matches: string[], data: any) => void; } //# sourceMappingURL=sift.d.ts.map