import { Marker } from './types'; export interface IndexGeneratorOptions { filePath: string; fileContent: string; onGenerate: (payload: { code: string; marker: Marker; }) => any; onWarning: (msg: string) => any; } export declare class IndexGenerator { private options; constructor(options: IndexGeneratorOptions); generate(): Promise; static findMarkers(text: string, onInvalid?: (msg: string) => any): Marker[]; static normalizePath(path: string): string; static getRelativePath(from: string, to: string): string; static isSamePath(path1: string, path2: string): boolean; }