export function shouldEnableShortcutTelemetry(input) {
    if (!input.telemetryEnabled)
        return false;
    // JSON mode is primarily used by automation and benchmark runners. Those runs
    // can create one CLI session per task and emit millions of telemetry rows.
    return input.mode !== 'json';
}
//# sourceMappingURL=telemetry-policy.js.map