import { i as isAcpRuntimeError, n as AcpRuntimeError } from "../errors-3lW-4ThH.js";
import { n as testing$1, t as getAcpSessionManager } from "../manager-DqjJ_ZgK.js";
import { a as unregisterAcpRuntimeBackend, i as testing$2, n as registerAcpRuntimeBackend, r as requireAcpRuntimeBackend, t as getAcpRuntimeBackend } from "../registry-Bc1mQpTm.js";
import { n as readAcpSessionEntry } from "../session-meta-7gUyjood.js";
import { t as tryDispatchAcpReplyHook } from "../acp-runtime-backend-CvkAc_6D.js";
//#region src/plugin-sdk/acp-runtime.ts
const testing = new Proxy({}, {
	get(_target, prop, receiver) {
		if (Reflect.has(testing$1, prop)) return Reflect.get(testing$1, prop, receiver);
		return Reflect.get(testing$2, prop, receiver);
	},
	has(_target, prop) {
		return Reflect.has(testing$1, prop) || Reflect.has(testing$2, prop);
	},
	ownKeys() {
		return Array.from(new Set([...Reflect.ownKeys(testing$1), ...Reflect.ownKeys(testing$2)]));
	},
	getOwnPropertyDescriptor(_target, prop) {
		if (Reflect.has(testing$1, prop) || Reflect.has(testing$2, prop)) return {
			configurable: true,
			enumerable: true
		};
	}
});
//#endregion
export { AcpRuntimeError, testing as __testing, testing, getAcpRuntimeBackend, getAcpSessionManager, isAcpRuntimeError, readAcpSessionEntry, registerAcpRuntimeBackend, requireAcpRuntimeBackend, tryDispatchAcpReplyHook, unregisterAcpRuntimeBackend };
