/** * Plain-string matching for values that come from the org (site labels, user names). Built * without RegExp so no org-controlled text ever becomes a pattern. */ /** True when `needle` occurs in `text` bounded by non-alphanumerics or the string edges. */ export declare function containsWord(text: string, needle: string): boolean; /** Replaces every case-insensitive occurrence of `needle` in `text` with `replacement`. */ export declare function replaceInsensitive(text: string, needle: string, replacement: string): string; //# sourceMappingURL=text.d.ts.map