import React from 'react';
import { type MessageDescriptor } from 'react-intl';
import { type InvokeClientActionHandler, type InvokeClientActionProps } from '../../state/hooks/use-invoke-client-action/types';
export declare const toAction: (action: InvokeClientActionProps, invokeClientAction: InvokeClientActionHandler, message: MessageDescriptor, id: string) => {
    id: string;
    text: React.JSX.Element;
    invoke: () => Promise<void>;
};
