import { ContextGenerationService } from '../context-generation/context-generation.service';
import { SearchWorkspaceResponseDto } from './dto/search-workspace.dto';
import { FileTreeResponseDto } from './dto/file-tree.dto';
export declare class WorkspaceService {
    private readonly contextGenerationService;
    private readonly logger;
    private projectRoot;
    private tracer;
    private fileTreeCache;
    private fileTreeCacheTimestamp;
    private readonly CACHE_TTL_MS;
    constructor(contextGenerationService: ContextGenerationService);
    private execAsync;
    private getFilesFromRg;
    private resolveAndValidatePath;
    validatePaths(paths: {
        files?: string[];
        folders?: string[];
    }): Promise<{
        valid: boolean;
        invalidPaths: string[];
    }>;
    getFileTree(): Promise<FileTreeResponseDto>;
    invalidateFileTreeCache(): Promise<void>;
    search(query: string, type: 'files' | 'folders' | 'all', page: number, limit: number): Promise<SearchWorkspaceResponseDto>;
    getFileContent(filePath: string): Promise<string>;
}
