Files
notification-elements-demo/node_modules/piscina/dist/common.d.ts
Giuliano Silvestro 5d0c9ec7eb Initial commit: notification-elements-demo app
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>
2026-02-13 21:49:19 +10:00

31 lines
1.0 KiB
TypeScript

import type { Histogram } from 'node:perf_hooks';
import type { HistogramSummary } from './types';
export declare const READY = "_WORKER_READY";
/**
* True if the object implements the Transferable interface
*
* @export
* @param {unknown} value
* @return {*} {boolean}
*/
export declare function isTransferable(value: unknown): boolean;
/**
* True if object implements Transferable and has been returned
* by the Piscina.move() function
*
* TODO: narrow down the type of value
* @export
* @param {(unknown & PiscinaMovable)} value
* @return {*} {boolean}
*/
export declare function isMovable(value: any): boolean;
export declare function markMovable(value: {}): void;
export declare const commonState: {
isWorkerThread: boolean;
workerData: undefined;
};
export declare function createHistogramSummary(histogram: Histogram): HistogramSummary;
export declare function toHistogramIntegerNano(milliseconds: number): number;
export declare function maybeFileURLToPath(filename: string): string;
export declare function getAvailableParallelism(): number;