import { __export, __reExport } from "../../../../_virtual/rolldown_runtime.js";
import { DONE_RESULT, EMPTY_STREAM, Reduction, StreamImpl, TreeStreamImpl, stream } from "./stream.js";
import { ast_utils_exports } from "./ast-utils.js";
import { cst_utils_exports } from "./cst-utils.js";
import { ErrorWithLocation, assertCondition, assertUnreachable } from "./errors.js";
import { regexp_utils_exports } from "./regexp-utils.js";
import { grammar_utils_exports } from "./grammar-utils.js";
import { cancellation_exports } from "./cancellation.js";
import { Deferred, OperationCancelled, delayNextTick, interruptAndCheck, isOperationCancelled, setInterruptionPeriod, startCancelableOperation } from "./promise-utils.js";
import { URI } from "../../../vscode-uri/lib/esm/index.js";
import { UriTrie, UriUtils } from "./uri-utils.js";
import { BiMap, MultiMap } from "./collections.js";
import { ContextCache, DisposableCache, DocumentCache, SimpleCache, WorkspaceCache } from "./caching.js";
import { event_exports } from "./event.js";
import { Disposable } from "./disposable.js";
import { loadGrammarFromJson } from "./grammar-loader.js";
var utils_exports = /* @__PURE__ */ __export({
	AstUtils: () => ast_utils_exports,
	BiMap: () => BiMap,
	Cancellation: () => cancellation_exports,
	ContextCache: () => ContextCache,
	CstUtils: () => cst_utils_exports,
	DONE_RESULT: () => DONE_RESULT,
	Deferred: () => Deferred,
	Disposable: () => Disposable,
	DisposableCache: () => DisposableCache,
	DocumentCache: () => DocumentCache,
	EMPTY_STREAM: () => EMPTY_STREAM,
	ErrorWithLocation: () => ErrorWithLocation,
	GrammarUtils: () => grammar_utils_exports,
	MultiMap: () => MultiMap,
	OperationCancelled: () => OperationCancelled,
	Reduction: () => Reduction,
	RegExpUtils: () => regexp_utils_exports,
	SimpleCache: () => SimpleCache,
	StreamImpl: () => StreamImpl,
	TreeStreamImpl: () => TreeStreamImpl,
	URI: () => URI,
	UriTrie: () => UriTrie,
	UriUtils: () => UriUtils,
	WorkspaceCache: () => WorkspaceCache,
	assertCondition: () => assertCondition,
	assertUnreachable: () => assertUnreachable,
	delayNextTick: () => delayNextTick,
	interruptAndCheck: () => interruptAndCheck,
	isOperationCancelled: () => isOperationCancelled,
	loadGrammarFromJson: () => loadGrammarFromJson,
	setInterruptionPeriod: () => setInterruptionPeriod,
	startCancelableOperation: () => startCancelableOperation,
	stream: () => stream
}, 1);
__reExport(utils_exports, event_exports, void 0, 1);
export { utils_exports };
