import { ContextTemplate } from '../core-entities';
import { Repository } from 'typeorm';
export declare class ContextGenerationService {
    private contextTemplatesRepository;
    private readonly logger;
    private eta;
    private projectRoot;
    private templateHelpers;
    private partialCache;
    constructor(contextTemplatesRepository: Repository<ContextTemplate>);
    private execPromise;
    getRipGrepIgnoreFlags(): Promise<string>;
    getCommandPath(commandName: string): Promise<string>;
    private resolveAndValidatePath;
    secureReadFile(filePath: string): Promise<string>;
    fetchFileContent(filePath: string): Promise<string>;
    private secureReadDir;
    secureGlob(pattern: string): Promise<string[]>;
    secureTree(args?: string): Promise<string>;
    secureRipGrep(args?: string): Promise<string>;
    secureGitDiff(args?: string): Promise<string>;
    runCommand(commandString: string): Promise<string>;
    private include;
    render(templateContent: string, data?: object): Promise<string>;
}
