import React from 'react'; interface UseActionsOptions { onRefresh?: (keys: React.Key[]) => void; onClearSelection?: () => void; } declare const useActions: (options?: UseActionsOptions) => ({ key: string; label: any; icon: string; loading: boolean; onClick: (keys: React.Key[], rows?: any[]) => Promise; } | { key: string; label: any; icon: string; onClick: (keys: React.Key[], rows?: any[]) => void; loading?: undefined; })[]; export default useActions;