import { useQuery } from '@tanstack/vue-query';
import { getModelOperationsPlan } from './api';
export const modelOperationsKeys = {
    all: ['model-operations'],
    plan: () => [...modelOperationsKeys.all, 'plan']
};
export function useModelOperationsPlanQuery() {
    return useQuery({
        queryKey: modelOperationsKeys.plan(),
        queryFn: getModelOperationsPlan,
        staleTime: 5 * 60 * 1000,
        retry: 1
    });
}
