import { Query, QueryClient } from "@tanstack/react-query"; interface ActionButtonConfig { label: string; bgColorClass: "btnRefetch" | "btnTriggerLoading" | "btnTriggerLoadiError" | "btnRemove"; textColorClass: "btnRefetch" | "btnTriggerLoading" | "btnTriggerLoadiError" | "btnRemove"; disabled: boolean; onPress: () => void; } /** * Derives the default action button configuration for an inspected query. Encapsulates business * rules around when to show refetch, loading, or error simulation actions. * * @param selectedQuery - The query to derive actions for * @param queryClient - The query client for executing actions * @param queryVersion - Optional version number that increments on query state changes. * React Query mutates Query objects in place, so this version ensures * the useMemo recomputes when state changes. */ export declare function useActionButtons(selectedQuery: Query, queryClient: QueryClient, queryVersion?: number): ActionButtonConfig[]; export {}; //# sourceMappingURL=useActionButtons.d.ts.map