import React from 'react';
import { type ManualRulesData } from '../../manual-triggers-container';
type AutomationMenuContextContainerProps = {
    analyticsSource: string;
    baseAutomationUrl: string;
    canManageAutomation: boolean;
    children: () => React.ReactElement;
    emptyStateAdminDescription?: React.ReactNode;
    emptyStateDescription?: React.ReactNode;
    objectAri: string;
    onRuleInvocationFailure?: () => void;
    onRuleInvocationLifecycleDone?: () => void;
    onRuleInvocationSuccess?: () => void;
    siteAri: string;
};
export type RuleExecutionState = 'SUCCEED' | 'FAILURE' | 'NONE';
export type MenuContext = Omit<ManualRulesData, 'error'> & {
    analyticsSource: string;
    baseAutomationUrl: string;
    canManageAutomation: boolean;
    emptyStateAdminDescription?: React.ReactNode;
    emptyStateDescription?: React.ReactNode;
    fetchError: any;
    objectAri: string;
    ruleExecutionState: RuleExecutionState;
};
export declare const useAutomationMenu: () => MenuContext;
export declare const AutomationMenuContextContainer: ({ baseAutomationUrl, analyticsSource, objectAri, siteAri, canManageAutomation, children, emptyStateDescription, emptyStateAdminDescription, onRuleInvocationSuccess, onRuleInvocationFailure, onRuleInvocationLifecycleDone, }: AutomationMenuContextContainerProps) => React.JSX.Element;
export {};
