import React from 'react';
import { TActionUnion, TEditActionProps, TActionsPermissions } from '../../types/ActionsDropdown';
import { TRequiredPermission } from './permissionsMap';
type TVisibilityContext = {
    replaceValues: Record<string, string | undefined>;
    multiQueryData: Record<string, unknown>;
};
export declare const getRequiredPermissions: (actions: TActionUnion[]) => TRequiredPermission[];
export declare const getVisibleActions: (actions: TActionUnion[], { replaceValues, multiQueryData }: TVisibilityContext) => {
    action: TActionUnion;
    actionKey: string;
}[];
export declare const buildEditUrl: (props: TEditActionProps, fullPath: string) => string;
export declare const getMenuItems: (visibleActions: {
    action: TActionUnion;
    actionKey: string;
}[], onActionClick: (action: TActionUnion) => void, permissions: TActionsPermissions) => {
    key: string;
    label: string | import("react/jsx-runtime").JSX.Element;
    icon: React.ReactNode;
    disabled: boolean;
    danger: boolean | undefined;
    onClick: () => void;
}[];
export {};
