import type { IDataObject, IExecuteFunctions, INodeProperties, IWebhookFunctions } from 'n8n-workflow';
import type { IEmail } from './interfaces';
export type SendAndWaitConfig = {
    title: string;
    message: string;
    options: Array<{
        label: string;
        url: string;
        style: string;
    }>;
    appendAttribution?: boolean;
};
export declare function getSendAndWaitProperties(targetProperties: INodeProperties[], resource?: string | null, additionalProperties?: INodeProperties[], options?: {
    noButtonStyle?: boolean;
    defaultApproveLabel?: string;
    defaultDisapproveLabel?: string;
    extraOptions?: INodeProperties[];
}): INodeProperties[];
export declare function sendAndWaitWebhook(this: IWebhookFunctions): Promise<{
    noWebhookResponse: boolean;
    webhookResponse?: undefined;
    workflowData?: undefined;
} | {
    webhookResponse: string;
    workflowData: {
        json: {
            data: {
                text: IDataObject | import("n8n-workflow").GenericValue | import("n8n-workflow").GenericValue[] | IDataObject[];
            };
        };
    }[][];
    noWebhookResponse?: undefined;
} | {
    webhookResponse: string;
    workflowData: import("n8n-workflow").INodeExecutionData[][];
    noWebhookResponse?: undefined;
} | {
    webhookResponse: string;
    workflowData: {
        json: {
            data: {
                approved: boolean;
            };
        };
    }[][];
    noWebhookResponse?: undefined;
}>;
export declare function getSendAndWaitConfig(context: IExecuteFunctions): SendAndWaitConfig;
export declare function createButton(url: string, label: string, style: string): string;
export declare function createEmail(context: IExecuteFunctions): IEmail;
export declare const SEND_AND_WAIT_WAITING_TOOLTIP: string;
//# sourceMappingURL=utils.d.ts.map