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>
27 lines
957 B
TypeScript
27 lines
957 B
TypeScript
import { Link } from '@jsonjoy.com/fs-core';
|
|
import * as opts from '@jsonjoy.com/fs-node-utils/lib/types/options';
|
|
import type { IDir, IDirent } from '@jsonjoy.com/fs-node-utils/lib/types/misc';
|
|
/**
|
|
* A directory stream, like `fs.Dir`.
|
|
*/
|
|
export declare class Dir implements IDir {
|
|
protected readonly link: Link;
|
|
protected options: opts.IOpendirOptions;
|
|
private iteratorInfo;
|
|
private closed;
|
|
private operationQueue;
|
|
constructor(link: Link, options: opts.IOpendirOptions);
|
|
private closeBase;
|
|
private readBase;
|
|
readonly path: string;
|
|
close(): Promise<void>;
|
|
close(callback?: (err?: Error) => void): void;
|
|
closeSync(): void;
|
|
read(): Promise<IDirent | null>;
|
|
read(callback?: (err: Error | null, dir?: IDirent | null) => void): void;
|
|
readSync(): IDirent | null;
|
|
[Symbol.asyncIterator](): AsyncIterableIterator<IDirent>;
|
|
[Symbol.asyncDispose](): Promise<void>;
|
|
[Symbol.dispose](): void;
|
|
}
|