/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import { BaseException } from '../exception'; export declare class DependencyNotFoundException extends BaseException { constructor(); } export declare class CircularDependencyFoundException extends BaseException { constructor(); } export declare class PartiallyOrderedSet implements Set { private _items; protected _checkCircularDependencies(item: T, deps: Set): void; clear(): void; has(item: T): boolean; get size(): number; forEach(callbackfn: (value: T, value2: T, set: PartiallyOrderedSet) => void, thisArg?: any): void; /** * Returns an iterable of [v,v] pairs for every value `v` in the set. */ entries(): IterableIterator<[T, T]>; /** * Despite its name, returns an iterable of the values in the set, */ keys(): IterableIterator; /** * Returns an iterable of values in the set. */ values(): IterableIterator; add(item: T, deps?: Set | T[]): this; delete(item: T): boolean; [Symbol.iterator](): Generator; get [Symbol.toStringTag](): 'Set'; }