import type { IOptions, ITerm } from './types.js';
declare global {
    interface Array<T> {
        diff(elem: T): Array<T>;
    }
}
export declare function getFiles(basePath: string, noParseFiles: string[], noThrow?: boolean): Promise<any[]>;
export declare function preloadTerms(termsFiles: any[]): Promise<{
    content: string;
    filepath: any;
    hoverText: string;
    glossaryText: string;
    type: string;
    id: string;
    title: string;
}[]>;
export declare function getCleanTokens(match: string, separator: string): string[];
export declare function getHeaders(content: string): string;
export declare function addJSImportStatement(content: string): string;
export declare function sortFiles(files: any[]): void;
export declare function cleanGlossaryTerms(terms: any[]): any[];
export declare function filterTypeTerms(terms: any[], glossaryTermPatterns: string | any[]): any[];
export declare function getGlossaryTerm(term: ITerm, path: string): string;
export declare function getOrCreateGlossaryFile(path: string): string;
export declare function getRelativePath(_: string, target: string, opts: IOptions): string;
//# sourceMappingURL=lib.d.ts.map