export default function useActions<T>(actions: Global.ActionItem<T>[], ctx: T): {
    disabled: boolean | undefined;
    label: string;
    key: string;
    icon: React.ReactNode;
    locale?: boolean;
    props?: {
        danger?: boolean;
    };
    visible?: ((record: T) => boolean) | undefined;
}[];
