augnitosdk
Version:
AugnitoSDK lets you make use of the Speech Recognition AI. You can edit, format and complete reports at the speed of human speech, with the best-in-class accuracy
28 lines (27 loc) • 961 B
TypeScript
import { WrappedRange } from 'augnito-dom-ranges';
type TraverseTextNodeResult = {
rangeBeforeProcess: WrappedRange;
rangeAfterProcess: WrappedRange | undefined;
isCursorInSameLine: boolean;
lastChar: string;
lastImmediateChar: string;
};
type FindLastCharType = {
lastChar: string;
lastImmediateChar: string;
cursorInSameLine: boolean;
isLastFullStop: boolean;
isLastNewLine: boolean;
};
declare abstract class NodeTypes {
static readonly NODE_ELEMENT = 1;
static readonly NODE_TEXT = 3;
}
declare abstract class ContentEditableLineBreakTags {
static readonly linkBreakElement = "br";
static readonly divLinkBreakElement = "div";
static readonly paragraphLinkBreakElement = "p";
static readonly listLinkBreakElement = "li";
static readonly lineBreakElements: string[];
}
export { TraverseTextNodeResult, FindLastCharType, NodeTypes, ContentEditableLineBreakTags };