import type { LayoutType, QuickAction, QuickActionsBarProps } from "./QuickActionsBar.types"; /** Max quick actions shown on a single grid carousel page */ export declare const MAX_ACTIONS_PER_PAGE = 6; /** Short pt-BR names used in the layout toggle tooltip and aria-label */ export declare const QUICK_ACTIONS_LAYOUT_LABELS: Record; /** Column count for a single grid page based on how many items it holds */ export declare const getGridColumnsForCount: (actionsCount: number) => number; /** * Next layout in the toggle cycle. The full grid only differs from the paged * grid when there is more than one page, so it is skipped otherwise. */ export declare const getNextQuickActionsLayout: (current: LayoutType, hasMultiplePages: boolean) => LayoutType; export declare const getQuickActionsToggleLabel: (current: LayoutType, next: LayoutType) => string; declare const useQuickActionsBar: (props: QuickActionsBarProps) => { data: { layoutType: LayoutType; isGridLayout: boolean; nextLayout: LayoutType; toggleLabel: string; gridColumns: number; pageGridColumns: number[]; actions: { title: string; id: string; color: string; route: string; icon?: string | undefined; description?: string | undefined; badge?: string | number | undefined; }[]; actionPages: QuickAction[][]; pageIndex: number; showCarousel: boolean; variant: "compact" | "full"; showToggle: boolean; }; fns: { handleToggleLayout: () => void; handleActionClick: (route: string) => void; handlePageChange: (index: number) => void; }; }; export default useQuickActionsBar;