@aws/mynah-ui 4.23.0-beta.11 → 4.23.0-beta.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -34,6 +34,7 @@ export declare class ChatPromptInput {
34
34
  private readonly userPromptHistory;
35
35
  private userPromptHistoryIndex;
36
36
  private lastUnsentUserPrompt;
37
+ private readonly markerRemovalRegex;
37
38
  constructor(props: ChatPromptInputProps);
38
39
  private readonly updateAvailableCharactersIndicator;
39
40
  private readonly handleInputKeydown;
@@ -37,9 +37,15 @@ export declare class PromptTextInput {
37
37
  readonly updateTextInputMaxLength: (maxLength: number) => void;
38
38
  readonly updateTextInputPlaceholder: (text: string) => void;
39
39
  readonly deleteTextRange: (position: number, endPosition: number) => void;
40
- readonly getCursorLine: () => {
40
+ /**
41
+ * Returns the cursorLine, totalLines and if the cursor is at the beginning or end of the whole text
42
+ * @returns {cursorLine: number, totalLines: number, isAtTheBeginning: boolean, isAtTheEnd: boolean}
43
+ */
44
+ readonly getCursorPosition: () => {
41
45
  cursorLine: number;
42
46
  totalLines: number;
47
+ isAtTheBeginning: boolean;
48
+ isAtTheEnd: boolean;
43
49
  };
44
50
  readonly getUsedContext: () => QuickActionCommand[];
45
51
  }