@dialpad/dialtone
Version:
Dialpad's Dialtone design system monorepo
16 lines • 642 B
TypeScript
export function getRegexMatches(text: any, regex: any, validator?: () => boolean): any[];
export function hasValidPrefix(text: any, match: any): boolean;
export function trimEndPunctiation(string: any): any;
export function getWordAt(text: any, index: any): {
text: any;
from: any;
to: any;
};
export function getWordAtUntil(text: any, index: any, direction: any, regex: any): {
text: any;
from: any;
to: any;
};
export function removeMarks(range: any, doc: any, tr: any, type: any): void;
export function addMarks(text: any, pos: any, from: any, to: any, tr: any, type: any): void;
//# sourceMappingURL=utils.d.ts.map