/** * Private settings submenu used by the ChatActions preset. * * Keeping the nested floating-menu behavior separate from the public compound * keeps ChatActions focused on composition while this module owns pointer * transit, focus restoration, and the settings-specific presentation. * * @module react/components/chat/chat-actions-settings */ import * as React from "react"; /** The two toggle settings surfaced in the Settings submenu. */ export interface ChatActionsSettings { /** "Auto-send queue" — send queued messages automatically. */ autoSubmit: boolean; /** "Autofix errors" — attempt to fix errors automatically. */ autoFixErrors: boolean; /** Called with the next value when "Auto-send queue" is toggled. */ onAutoSubmitChange: (value: boolean) => void; /** Called with the next value when "Autofix errors" is toggled. */ onAutoFixErrorsChange: (value: boolean) => void; } /** * The Settings row and its portalled submenu. * * The close delay lets the pointer cross the portal gap. The submenu owns its * keyboard events and mouse-downs so its parent menu cannot dismiss first. */ export declare function SettingsSubmenu({ settings, }: { settings: ChatActionsSettings; }): React.ReactElement; //# sourceMappingURL=chat-actions-settings.d.ts.map