import type { Surface } from "./check-surface-compatibility.js"; type SelectLike = { type?: string; response_url_enabled?: boolean; }; type BlockLike = { type?: string; accessory?: SelectLike; element?: SelectLike; elements?: SelectLike[]; }; /** * Enforces Slack's `response_url_enabled` restriction: * "This field only works with menus in input blocks in modals." * (Docs: conversations_select / channels_select elements.) * * Flags any usage on a non-modal surface, and any usage outside an `input` * block (e.g. as a section `accessory` or inside an `actions` block). * @param blocks - array of Block Kit blocks * @param surface - target surface (used to reject home/message usage) * @returns array of human-readable error messages (empty when valid) */ export declare function checkResponseUrlEnabledContext(blocks: readonly BlockLike[], surface: Surface | undefined): string[]; export {}; //# sourceMappingURL=check-response-url-enabled-context.d.ts.map