UNPKG

sdf-parser

Version:
11 lines 567 B
/** * Get the [start, end] boundaries of each SDF entry in a string. * * Uses `indexOf` for fast splitting without regex overhead. * @param string - The full SDF string. * @param substring - The delimiter to search for (e.g. `'\n$$$$'`). * @param eol - The end-of-line character used to skip past the delimiter line. * @returns An array of `[start, end]` index pairs, one per SDF entry. */ export declare function getEntriesBoundaries(string: string, substring: string, eol: string): Array<[number, number]>; //# sourceMappingURL=getEntriesBoundaries.d.ts.map