/**
 * Hook for automating actions based on form response data.
 *
 * This hook automates the closing of modals and the display of toast notifications
 * based on the properties provided in the form response data object.
 *
 * @param {Object} formResponseData - Object containing form response data for automation
 * @param {boolean} [formResponseData.closeModal] - If true, closes all open modals
 * @param {string} [formResponseData.message] - Message to be displayed in the toast notification
 * @param {string} [formResponseData.name] - Response name used to check against known error responses
 * @param {"success" | "danger"} [formResponseData.type] - Type of toast notification to be displayed
 *
 * @example
 * ```tsx
 * // Complete usage with success notification
 * const responseData = {
 *   closeModal: true,
 *   message: "Operation completed successfully!",
 *   type: "success"
 * };
 *
 * useAutomation(responseData);
 * ```
 *
 * @example
 * ```tsx
 * // Close modal only
 * useAutomation({ closeModal: true });
 * ```
 *
 * @example
 * ```tsx
 * // Display error notification
 * useAutomation({
 *   message: "Error processing request",
 *   type: "danger"
 * });
 * ```
 */
declare function useAutomation(formResponseData: any): void;
export { useAutomation };
//# sourceMappingURL=useAutomation.d.ts.map