| 1 |
import { type Selection } from '../core/utils'; |
| 2 |
export type InputHistoryState = { |
| 3 |
unmaskedValue: string; |
| 4 |
selection: Selection; |
| 5 |
}; |
| 6 |
export default class InputHistory { |
| 7 |
static MAX_LENGTH: number; |
| 8 |
states: InputHistoryState[]; |
| 9 |
currentIndex: number; |
| 10 |
get currentState(): InputHistoryState | undefined; |
| 11 |
get isEmpty(): boolean; |
| 12 |
push(state: InputHistoryState): void; |
| 13 |
go(steps: number): InputHistoryState | undefined; |
| 14 |
undo(): InputHistoryState | undefined; |
| 15 |
redo(): InputHistoryState | undefined; |
| 16 |
clear(): void; |
| 17 |
} |
| 18 |
//# sourceMappingURL=input-history.d.ts.map |