import { WarpGrepProvider, GrepResult, ReadResult, ListDirectoryEntry, GlobResult } from './types.js';

declare class LocalRipgrepProvider implements WarpGrepProvider {
    private readonly repoRoot;
    private readonly excludes;
    private readonly allowNames?;
    constructor(repoRoot: string, excludes?: string[], options?: {
        allowNames?: string[];
    });
    grep(params: {
        pattern: string;
        path: string;
        glob?: string;
        context_lines?: number;
        case_sensitive?: boolean;
    }): Promise<GrepResult>;
    read(params: {
        path: string;
        start?: number;
        end?: number;
    }): Promise<ReadResult>;
    listDirectory(params: {
        path: string;
        pattern?: string | null;
        maxResults?: number;
        maxDepth?: number;
    }): Promise<ListDirectoryEntry[]>;
    glob(params: {
        pattern: string;
        path?: string;
    }): Promise<GlobResult>;
}

export { LocalRipgrepProvider };
