import { type FireEventFunction } from '../../common/analytics/types';
import { type InvokeClientActionProps } from '../../state/hooks/use-invoke-client-action/types';
import { type AnalyticsOrigin } from '../../utils/types';
import { type EmbedModalProps } from '../../view/EmbedModal/types';
import { type ExtractClientActionsParam } from './types';
export type ExtractInvokePreviewActionParam = ExtractClientActionsParam & {
    fireEvent?: FireEventFunction;
    isPreviewPanelAvailable?: (params: {
        ari: string;
    }) => boolean;
    onClose?: EmbedModalProps['onClose'];
    openPreviewPanel?: (params: {
        ari: string;
        iconUrl: string | undefined;
        name: string;
        panelData: {
            embedUrl?: string;
        };
        url: string;
    }) => void;
    origin?: AnalyticsOrigin;
};
type ExtractInvokePreviewActionReturn = {
    hasPreviewPanel?: boolean;
    invokeAction: InvokeClientActionProps;
};
export declare const extractInvokePreviewAction: (param: ExtractInvokePreviewActionParam) => ExtractInvokePreviewActionReturn | undefined;
export {};
