osr-discourse/lib/markdown/Pattern.d.ts
2024-06-29 21:53:26 +02:00

8 lines
214 B
TypeScript

import { RegExCallback } from './types';
export declare class Pattern {
regex: RegExp;
replacement: RegExCallback;
constructor(regex: RegExp, replacement: any);
apply(raw: string): string;
}