interface AstNode { readonly type: string; [key: string]: any; } /** * Options accepted by the require-readonly-config-params rule. */ export interface UtilRequireReadonlyConfigParamsRuleOptions { /** * Additional name suffixes to treat as config-shaped (joined with the defaults `Config`, `Params`). */ readonly additionalSuffixes?: readonly string[]; /** * JSDoc tag that exempts a matching interface from the readonly requirement. * Defaults to `@dbxMutable`. */ readonly exemptJsdocTag?: string; } /** * ESLint rule definition for require-readonly-config-params. */ export interface UtilRequireReadonlyConfigParamsRuleDefinition { readonly meta: { readonly type: 'suggestion'; readonly fixable: 'code'; readonly docs: { readonly description: string; readonly recommended: boolean; }; readonly messages: { readonly missingReadonly: string; }; readonly schema: readonly object[]; }; create(context: { options: UtilRequireReadonlyConfigParamsRuleOptions[]; report: (descriptor: { node: AstNode; messageId: string; data?: Record; fix?: (fixer: AstNode) => AstNode | AstNode[]; }) => void; sourceCode: AstNode; }): Record void>; } /** * ESLint rule requiring `readonly` on every property of `*Config` / `*Params` interfaces so that Config * and Params shapes stay structurally immutable at the type level. Properties that are missing the * modifier are flagged and the rule auto-fixes them by inserting `readonly` before the property name. * * Interfaces tagged with the configured exempt JSDoc (default `@dbxMutable`) are skipped — used for * Firestore model data interfaces that legitimately need mutable hydration fields. * * @see `dbx__note__typescript-programming` → Readonly Interface Properties */ export declare const UTIL_REQUIRE_READONLY_CONFIG_PARAMS_RULE: UtilRequireReadonlyConfigParamsRuleDefinition; export {};