/** * query command - Search for terms in the index */ export type QueryMode = 'exact' | 'contains' | 'starts_with'; export interface QueryParams { path: string; term: string; mode?: QueryMode; fileFilter?: string; typeFilter?: string[]; modifiedSince?: string; modifiedBefore?: string; limit?: number; } export interface QueryMatch { file: string; lineNumber: number; lineType: string; modified?: number; } export interface QueryResult { success: boolean; term: string; mode: QueryMode; matches: QueryMatch[]; totalMatches: number; truncated: boolean; error?: string; } export declare function query(params: QueryParams): QueryResult; /** * Parse time offset string to Unix timestamp * Supports: "2h" (hours), "30m" (minutes), "1d" (days), "1w" (weeks), or ISO date string */ export declare function parseTimeOffset(input: string): number | null; //# sourceMappingURL=query.d.ts.map