/** * Linear-time trimming of repeated edge characters (avoids polynomial ReDoS on * patterns like `/^-+|-+$/` when applied to uncontrolled strings). */ export declare const MAX_UNTRUSTED_STRING_LEN = 8192; export declare function stripLeadingTrailingHyphens(s: string, maxLen?: number): string; export declare function stripLeadingTrailingUnderscores(s: string, maxLen?: number): string; //# sourceMappingURL=stringEdgeStrip.d.ts.map