/** * @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.dev/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(): SetIterator<[T, T]>; /** * Despite its name, returns an iterable of the values in the set, */ keys(): SetIterator; /** * Returns an iterable of values in the set. */ values(): SetIterator; add(item: T, deps?: Set | T[]): this; delete(item: T): boolean; [Symbol.iterator](): Generator; get [Symbol.toStringTag](): 'Set'; }