import { AlertDataTemplate, Automation, EmailStatus, QueuedAutomation, SalutationOptionType } from '@parlor/common';
type Values = {
    bcc?: string[];
    cc?: string[];
    description: string;
    greeting: string;
    salutation: string;
    salutationPerson?: string;
    subject: string;
};
type ApproveAutomationProps = {
    automation: Automation;
    id: string;
    payload: QueuedAutomation['payload'];
    values: Values;
};
export declare function useQueuedAutomationActions(): {
    onReviewAndSend: (item: {
        __typename?: "QueuedAutomation";
        id: string;
        approval?: string;
        firedDate?: any;
        fired?: boolean;
        payload?: any;
        status?: EmailStatus;
        seen?: boolean;
        created_at: any;
        updated_at: any;
        account?: {
            __typename?: "Account";
            id: string;
            admin?: {
                __typename?: "Admin";
                id: string;
                firstName?: string;
                lastName?: string;
                email: string;
                avatar?: string;
            };
        };
        automation?: {
            __typename?: "Automation";
            id: string;
            queryLiteral?: any[][];
            created_at: any;
            alertDataTemplate?: {
                __typename?: "AlertDataTemplate";
                id: string;
                subject: string;
                callsToAction?: import("@parlor/common").CallsToAction[];
                description: string;
                senderType?: import("@parlor/common").SurveySenderType;
                greetingOption?: import("@parlor/common").GreetingOption;
                name?: string;
                greetingText?: string;
                delaySendTime?: number;
                emailTo?: import("@parlor/common").EmailToType;
                accountRoleName?: string;
                ccTeamMemberEmails?: string[];
                bccTeamMemberEmails?: string[];
                ccUserEmails?: string[];
                bccUserEmails?: string[];
                ccAccountRoles?: string[];
                bccAccountRoles?: string[];
                salutationText?: string;
                salutationOption?: SalutationOptionType;
                specificTeamMemberID?: string;
                surveyID?: string;
                salutationTemplate?: {
                    __typename?: "DynamicHtmlTemplate";
                    id: string;
                    name?: string;
                    html?: string;
                };
                attachments?: {
                    __typename?: "Attachment";
                    id: string;
                    mimeType: string;
                    description: string;
                    signedUrl: string;
                    alertDataTemplateID?: string;
                }[];
                dynamicHtmlTemplate?: {
                    __typename?: "DynamicHtmlTemplate";
                    id: string;
                    html?: string;
                    name?: string;
                };
                specificTeamMember?: {
                    __typename?: "Admin";
                    id: string;
                    lastName?: string;
                    firstName?: string;
                    avatar?: string;
                    email: string;
                };
                properties?: {
                    __typename?: "PropertyMap";
                    id: string;
                    name: string;
                    sortIndex?: number;
                }[];
            };
            playbook?: {
                __typename?: "Playbook";
                id: string;
                name?: string;
                assignedObject?: import("@parlor/common").PlayBookObject;
            };
            segment?: {
                __typename?: "Segment";
                id: string;
                name: string;
                type?: import("@parlor/common").SegmentType;
            };
        };
        user?: {
            __typename?: "User";
            id: string;
            firstName?: string;
            lastName?: string;
            fullName?: string;
            email?: string;
            accounts?: {
                __typename?: "Account";
                id: string;
                displayName?: string;
            }[];
        };
    } & {
        admin?: {
            __typename?: "Admin";
            id: string;
            firstName?: string;
            lastName?: string;
            email: string;
            avatar?: string;
        };
    }) => void;
    approveAutomation: ({ id, automation, values, payload }: ApproveAutomationProps) => Promise<void>;
    updateEmailTemplate: ({ alertDataTemplate, greeting, salutation, body, attachments }: {
        alertDataTemplate: AlertDataTemplate;
        attachments: import("@parlor/common").Attachment[];
        body: string;
        greeting: string;
        salutation: string;
        salutationPerson?: string;
    }) => {
        text: string;
        html: any;
    } | {
        attachments: import("@parlor/common").Attachment[];
        text: string;
        html: any;
    };
    cancelAutomation: (id: string) => Promise<void>;
    onCancelAutomation: (item: {
        __typename?: "QueuedAutomation";
        id: string;
        approval?: string;
        firedDate?: any;
        fired?: boolean;
        payload?: any;
        status?: EmailStatus;
        seen?: boolean;
        created_at: any;
        updated_at: any;
        account?: {
            __typename?: "Account";
            id: string;
            admin?: {
                __typename?: "Admin";
                id: string;
                firstName?: string;
                lastName?: string;
                email: string;
                avatar?: string;
            };
        };
        automation?: {
            __typename?: "Automation";
            id: string;
            queryLiteral?: any[][];
            created_at: any;
            alertDataTemplate?: {
                __typename?: "AlertDataTemplate";
                id: string;
                subject: string;
                callsToAction?: import("@parlor/common").CallsToAction[];
                description: string;
                senderType?: import("@parlor/common").SurveySenderType;
                greetingOption?: import("@parlor/common").GreetingOption;
                name?: string;
                greetingText?: string;
                delaySendTime?: number;
                emailTo?: import("@parlor/common").EmailToType;
                accountRoleName?: string;
                ccTeamMemberEmails?: string[];
                bccTeamMemberEmails?: string[];
                ccUserEmails?: string[];
                bccUserEmails?: string[];
                ccAccountRoles?: string[];
                bccAccountRoles?: string[];
                salutationText?: string;
                salutationOption?: SalutationOptionType;
                specificTeamMemberID?: string;
                surveyID?: string;
                salutationTemplate?: {
                    __typename?: "DynamicHtmlTemplate";
                    id: string;
                    name?: string;
                    html?: string;
                };
                attachments?: {
                    __typename?: "Attachment";
                    id: string;
                    mimeType: string;
                    description: string;
                    signedUrl: string;
                    alertDataTemplateID?: string;
                }[];
                dynamicHtmlTemplate?: {
                    __typename?: "DynamicHtmlTemplate";
                    id: string;
                    html?: string;
                    name?: string;
                };
                specificTeamMember?: {
                    __typename?: "Admin";
                    id: string;
                    lastName?: string;
                    firstName?: string;
                    avatar?: string;
                    email: string;
                };
                properties?: {
                    __typename?: "PropertyMap";
                    id: string;
                    name: string;
                    sortIndex?: number;
                }[];
            };
            playbook?: {
                __typename?: "Playbook";
                id: string;
                name?: string;
                assignedObject?: import("@parlor/common").PlayBookObject;
            };
            segment?: {
                __typename?: "Segment";
                id: string;
                name: string;
                type?: import("@parlor/common").SegmentType;
            };
        };
        user?: {
            __typename?: "User";
            id: string;
            firstName?: string;
            lastName?: string;
            fullName?: string;
            email?: string;
            accounts?: {
                __typename?: "Account";
                id: string;
                displayName?: string;
            }[];
        };
    } & {
        admin?: {
            __typename?: "Admin";
            id: string;
            firstName?: string;
            lastName?: string;
            email: string;
            avatar?: string;
        };
    }) => void;
};
export {};
