import { n as resolveChannelApprovalCapability } from "./plugins-lWQny0c_.js";
//#region src/channels/plugins/native-approval-prompt.ts
/**
* Native approval prompt capability helpers.
*
* Detects loaded channels that can render approval prompts natively.
*/
const NATIVE_APPROVAL_PROMPT_RUNTIME_CAPABILITY = "nativeApprovals";
function channelPluginHasNativeApprovalPromptUi(plugin) {
	const capability = resolveChannelApprovalCapability(plugin);
	return Boolean(capability?.native || capability?.nativeRuntime);
}
//#endregion
export { channelPluginHasNativeApprovalPromptUi as n, NATIVE_APPROVAL_PROMPT_RUNTIME_CAPABILITY as t };
