type ShouldBypassAcpDispatchForCommand = (typeof import("./dispatch-acp-command-bypass.js"))["shouldBypassAcpDispatchForCommand"]; type TryDispatchAcpReply = (typeof import("./dispatch-acp.js"))["tryDispatchAcpReply"]; let dispatchAcpPromise: Promise | null = null; let dispatchAcpCommandBypassPromise: Promise< typeof import("./dispatch-acp-command-bypass.js") > | null = null; function loadDispatchAcp() { dispatchAcpPromise ??= import("./dispatch-acp.js"); return dispatchAcpPromise; } function loadDispatchAcpCommandBypass() { dispatchAcpCommandBypassPromise ??= import("./dispatch-acp-command-bypass.js"); return dispatchAcpCommandBypassPromise; } export async function shouldBypassAcpDispatchForCommand( ...args: Parameters ): Promise>> { const mod = await loadDispatchAcpCommandBypass(); return mod.shouldBypassAcpDispatchForCommand(...args); } export async function tryDispatchAcpReply( ...args: Parameters ): Promise>> { const mod = await loadDispatchAcp(); return await mod.tryDispatchAcpReply(...args); }