import type { ArrayNonEmpty } from '@rimbu/common'; import { type StreamSource } from '@rimbu/stream'; import type { GraphBase, GraphElement, WithGraphValues } from '../../common/index.mjs'; export interface GraphTypesContextImpl extends GraphBase.Types { readonly context: GraphContext; } export declare class GraphContext implements GraphBase.Context { readonly isDirected: Dir; readonly typeTag: TT; readonly linkMapContext: WithGraphValues['linkMapContext']; readonly linkConnectionsContext: WithGraphValues['linkConnectionsContext']; readonly _fixedType: any; readonly _empty: WithGraphValues['normal']; constructor(isDirected: Dir, typeTag: TT, linkMapContext: WithGraphValues['linkMapContext'], linkConnectionsContext: WithGraphValues['linkConnectionsContext']); isNonEmptyInstance(source: any): source is WithGraphValues['nonEmpty']; readonly empty: () => any; readonly from: any; readonly of: (...values: ArrayNonEmpty>) => any; readonly builder: () => any; reducer: (source?: StreamSource>) => any; createBuilder(source?: WithGraphValues['nonEmpty']): WithGraphValues['builder']; createNonEmpty(linkMap: WithGraphValues['linkMapNonEmpty'], connectionSize: number): WithGraphValues['nonEmpty']; }