import { type JsonLd } from '@atlaskit/json-ld-types';
import type { ProductType } from '@atlaskit/linking-common';
import { type FireEventFunction } from '../../../common/analytics/types';
import { type FlexibleUiActions } from '../../../state/flexible-ui-context/types';
import { type AISummaryConfig } from '../../../state/hooks/use-ai-summary-config/types';
import type { RovoConfig } from '../../../state/hooks/use-rovo-config';
import { type AnalyticsOrigin } from '../../../utils/types';
import { type InternalCardActionOptions as CardActionOptions, type CardInnerAppearance } from '../../../view/Card/types';
import { type TransformUrlFn } from '../../action/types';
export type ExtractActionsParam = {
    actionOptions?: CardActionOptions;
    aiSummaryConfig?: AISummaryConfig;
    appearance?: CardInnerAppearance;
    fireEvent?: FireEventFunction;
    id?: string;
    isPreviewPanelAvailable?: (params: {
        ari: string;
    }) => boolean;
    openPreviewPanel?: (params: {
        ari: string;
        iconUrl: string | undefined;
        name: string;
        panelData: {
            embedUrl?: string;
        };
        url: string;
    }) => void;
    origin?: AnalyticsOrigin;
    product?: ProductType;
    response: JsonLd.Response;
    rovoConfig?: RovoConfig;
    transformUrl?: TransformUrlFn;
    url?: string;
};
export declare const extractFlexibleCardActions: ({ actionOptions, aiSummaryConfig, appearance, fireEvent, id, origin, product, response, rovoConfig, transformUrl, url, isPreviewPanelAvailable, openPreviewPanel, }: ExtractActionsParam) => FlexibleUiActions | undefined;
