import { type Type } from "@typespec/compiler"; import type { EmitEntity } from "./types.js"; export interface ReferenceCycleEntry { type: Type; entity: EmitEntity; } /** * Represent a reference cycle. * The cycle entries will always start with a declaration if there is one in the cycle. */ export declare class ReferenceCycle implements Iterable { #private; /** * If this cycle contains a declaration. */ readonly containsDeclaration: boolean; constructor(entries: ReferenceCycleEntry[]); get first(): ReferenceCycleEntry; [Symbol.iterator](): Iterator; [Symbol.toStringTag](): string; toString(): string; } //# sourceMappingURL=reference-cycle.d.ts.map