/** Keep app.clear global unless a focused modal/inline component owns input. */
export function routeGlobalClearInput(data, options) {
    if (!options.matchesClear(data))
        return undefined;
    if (options.hasOverlay || options.blockingInlineCustomUiActive)
        return undefined;
    options.onClear();
    options.requestRender();
    return { consume: true };
}
//# sourceMappingURL=interactive-global-clear.js.map