import type { DictionaryPathFormat } from './DictionaryPathFormat.js';
export interface PathInterface {
    relative(from: string, to: string): string;
    basename(path: string): string;
    sep: string;
}
export declare function trimMidPath(s: string, w: number, sep: string): string;
export declare function trimMid(s: string, w: number): string;
export declare function formatDictionaryLocation(dictSource: string, maxWidth: number, { cwd, dictionaryPathFormat: format, iPath, }: {
    cwd: string;
    dictionaryPathFormat: DictionaryPathFormat;
    iPath: PathInterface;
}): string;
//# sourceMappingURL=helpers.d.ts.map