import type { ButtonGroupActionElement, ButtonGroupPrimaryActionElement } from "./types"; import type { ButtonGroupActionProps } from "./ButtonGroupAction"; interface UsePreventTapWhenOfflineShape { readonly handlePress: (callback: ButtonGroupActionProps["onPress"]) => () => void; } /** * Determine if the onPress should be fired or an alert when the device is * online or offline */ export declare function usePreventTapWhenOffline(): UsePreventTapWhenOfflineShape; interface GetActionShape { readonly primaryActions: ButtonGroupPrimaryActionElement[]; readonly secondaryActions: ButtonGroupActionElement[]; } /** * Separate the Primary and Secondary actions into 2 const */ export declare function getActions(children: ButtonGroupActionElement | ButtonGroupActionElement[]): GetActionShape; export {};