import { type AstNode } from './util'; /** * ESLint rule definition shape used by `require-action-value-source`. */ export interface DbxWebRequireActionValueSourceRuleDefinition { readonly meta: { readonly type: 'problem'; readonly fixable: undefined; readonly docs: { readonly description: string; readonly recommended: boolean; }; readonly messages: { readonly missingValueSource: string; }; readonly schema: readonly object[]; }; create(context: AstNode): Record void>; } /** * ESLint (Angular template) rule that flags a `dbxAction` whose context has a * trigger but no value source. * * Such an action hangs: clicking the trigger moves the store to TRIGGERED, but with * nothing to call `readyValue()` it never advances to VALUE_READY, so the handler * never runs. * * Targets simple, inline cases only. It bails (does not report) when the value may * be supplied in a way a static template scan cannot see: * - `[dbxActionSource]` on the element or an ancestor (store forwarded from TS), or * - a nested `dbxAction` inside the subtree (ambiguous which context owns a value source). * * For legitimate programmatic-value cases (or a demo intentionally showing the * TRIGGERED state) suppress with ``. */ export declare const DBX_WEB_REQUIRE_ACTION_VALUE_SOURCE_RULE: DbxWebRequireActionValueSourceRuleDefinition;