UNPKG

@softchef/cdk-iot-device-management

Version:

IoT device management is composed of things, thing types, thing groups, jobs, files API services. The constructs can be used independently, that are based on full-managed service to create an API Gateway & Lambda function.

66 lines (50 loc) 1.27 kB
/** * Mnemonist FibonacciHeap Typings * ================================ */ type FibonacciHeapComparator<T> = (a: T, b: T) => number; export default class FibonacciHeap<T> { // Members size: number; // Constructor constructor(comparator?: FibonacciHeapComparator<T>); // Methods clear(): void; push(item: T): number; peek(): T | undefined; pop(): T | undefined; inspect(): any; // Statics static from<I>( iterable: Iterable<I> | {[key: string] : I}, comparator?: FibonacciHeapComparator<I> ): FibonacciHeap<I>; } export class MinFibonacciHeap<T> { // Members size: number; // Constructor constructor(comparator?: FibonacciHeapComparator<T>); // Methods clear(): void; push(item: T): number; peek(): T | undefined; pop(): T | undefined; inspect(): any; // Statics static from<I>(iterable: Iterable<I> | {[key: string] : I}): FibonacciHeap<I>; } export class MaxFibonacciHeap<T> { // Members size: number; // Constructor constructor(comparator?: FibonacciHeapComparator<T>); // Methods clear(): void; push(item: T): number; peek(): T | undefined; pop(): T | undefined; inspect(): any; // Statics static from<I>(iterable: Iterable<I> | {[key: string] : I}): FibonacciHeap<I>; }