/** * Slack allows at most one interactive element with `focus_on_load: true` per * view/payload. The walker recursively descends into every nested object and * array and counts any node whose `focus_on_load` is literally `true` — it * doesn't gate on element type, so for well-formed payloads this is * equivalent to "one focused element per view." The walk is depth-limited so * pathological inputs can't blow the stack. * @param blocks - array of Block Kit blocks or anything with a nested shape * @returns array of error messages (empty when zero or one node has `focus_on_load: true`) */ export declare function checkFocusOnLoadUniqueness(blocks: readonly unknown[]): string[]; //# sourceMappingURL=check-focus-on-load-uniqueness.d.ts.map