Clears all messages from the outline history. Resets the history to an empty state.
A promise that resolves when the history is cleared.
Retrieves all messages in the outline history.
A promise resolving to an array of messages in the history.
Adds one or more messages to the outline history. Supports both single messages and arrays of messages for flexibility.
The message(s) to add to the history.
A promise that resolves when the messages are successfully added.
Interface representing the history management API for outline operations. Provides methods to manage message history, such as adding, clearing, and listing messages. IOutlineHistory