import type { FileFinder } from "@ff-labs/fff-node"; import { FinderOperationError, RuntimeInitializationError } from "./errors.js"; import { type AppResult } from "./result-utils.js"; import { type FindFilesRequest, type FindFilesResult, type FffFileCandidate, type GrepSearchRequest, type GrepSearchResult, type HealthCheck, type PathResolution, type RelatedFilesResult, type RuntimeMetadata, type RuntimeOptions } from "./types.js"; export declare class FffRuntime { readonly cwd: string; private readonly options; private basePath; private finder; private initPromise; private loadError; private grepCursorCounter; private readonly grepContinuations; constructor(cwd: string, options?: RuntimeOptions); ensure(): Promise>; dispose(): void; getMetadata(): Promise; warm(timeoutMs?: number): Promise>; reindex(): Promise>; getStatus(): Promise>; healthCheck(): Promise>; trackQuery(query: string, selectedPath: string): Promise>; searchFileCandidates(query: string, limit?: number): Promise>; findFiles(request: FindFilesRequest): Promise; resolvePath(query: string, options?: { limit?: number; allowDirectory?: boolean; }): Promise; relatedFiles(query: string, limit?: number): Promise; grepSearch(request: GrepSearchRequest): Promise; multiGrepSearch(request: { patterns: string[]; pathQuery?: string; glob?: string; constraints?: string; context?: number; limit?: number; cursor?: string; includeCursorHint?: boolean; outputMode?: import("./types.js").GrepOutputMode; }): Promise; private storeGrepContinuation; private getGrepContinuation; private filterMatches; private buildApproximateMatchText; private runFinderGrep; private buildNoMatchFallback; private buildMultiNoMatchFallback; private runGrep; private resolveExistingPath; private initialize; } //# sourceMappingURL=runtime.d.ts.map