Interactive Angular 19 demo for @sda/notification-elements-ui with 6 sections: Bell & Feed, Notification Center, Inbox, Comments & Threads, Mention Input, and Full-Featured layout. Includes mock data, dark mode toggle, and real-time event log. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
48 lines
791 B
TypeScript
48 lines
791 B
TypeScript
declare const cliCursor: {
|
|
/**
|
|
Show cursor.
|
|
|
|
@param stream - Default: `process.stderr`.
|
|
|
|
@example
|
|
```
|
|
import cliCursor from 'cli-cursor';
|
|
|
|
cliCursor.show();
|
|
```
|
|
*/
|
|
show(stream?: NodeJS.WritableStream): void;
|
|
|
|
/**
|
|
Hide cursor.
|
|
|
|
@param stream - Default: `process.stderr`.
|
|
|
|
@example
|
|
```
|
|
import cliCursor from 'cli-cursor';
|
|
|
|
cliCursor.hide();
|
|
```
|
|
*/
|
|
hide(stream?: NodeJS.WritableStream): void;
|
|
|
|
/**
|
|
Toggle cursor visibility.
|
|
|
|
@param force - Is useful to show or hide the cursor based on a boolean.
|
|
@param stream - Default: `process.stderr`.
|
|
|
|
@example
|
|
```
|
|
import cliCursor from 'cli-cursor';
|
|
|
|
const unicornsAreAwesome = true;
|
|
cliCursor.toggle(unicornsAreAwesome);
|
|
```
|
|
*/
|
|
toggle(force?: boolean, stream?: NodeJS.WritableStream): void;
|
|
};
|
|
|
|
export default cliCursor;
|