/** A rewritten copy of the text plus the map back to the original. */ export interface Normalized { /** The text to run patterns against. */ readonly text: string; /** `starts[i]` — where character `i` began in the original. */ readonly starts: readonly number[]; /** `ends[i]` — where the original slice behind character `i` ended. */ readonly ends: readonly number[]; } /** * Rewrites `text` for matching, or returns `null` when there is nothing to do — * which is the common case, and lets the filter skip the whole mechanism. */ export declare function normalizeForMatching(text: string): Normalized | null; //# sourceMappingURL=normalize.d.ts.map