import { type TraceSelectionFlags } from "../../runDirectory/traceSelection.js"; import { type QueryDeps, type QueryResult } from "./shared.js"; /** How many matching rows `search` prints when `--limit` is not given. */ export declare const DEFAULT_SEARCH_LIMIT = 30; /** Characters of snippet on each side of a match when `--context` is not given. */ export declare const DEFAULT_SNIPPET_CONTEXT = 60; export type SearchOptions = TraceSelectionFlags & { pattern: string; log?: string; json: boolean; kind?: string; regex: boolean; caseSensitive: boolean; limit?: string; context?: string; }; export declare function logsSearch(options: SearchOptions, deps: QueryDeps): Promise;