UNPKG

cspell

Version:
23 lines 829 B
import type { TraceResult } from '../application.mjs'; import type { DictionaryPathFormat } from './DictionaryPathFormat.mjs'; interface PathInterface { relative(from: string, to: string): string; basename(path: string): string; sep: string; } export interface EmitTraceOptions { /** current working directory */ cwd: string; lineWidth?: number; dictionaryPathFormat: DictionaryPathFormat; iPath?: PathInterface; prefix?: string; showWordFound?: boolean; } export declare function emitTraceResults(word: string, found: boolean, results: TraceResult[], options: EmitTraceOptions): void; declare function trimMidPath(s: string, w: number, sep: string): string; export declare const __testing__: { trimMidPath: typeof trimMidPath; }; export {}; //# sourceMappingURL=traceEmitter.d.mts.map