// STUB — @/queue-management is not migrated. These placeholders let
// performance-management's call-management widget resolve; the queue feature is
// inert here. Replace with the real @/queue-management/hooks if it is copied.

/** No-op call-execution mutation matching the react-query mutation shape used. */
export function useCallExecution() {
  return {
    // eslint-disable-next-line @typescript-eslint/no-explicit-any
    mutate: (..._args: any[]) => {
      // eslint-disable-next-line no-console
      console.warn("[queue-management stub] useCallExecution — not migrated.");
    },
    // eslint-disable-next-line @typescript-eslint/no-explicit-any
    mutateAsync: async (..._args: any[]) => undefined,
    isPending: false,
    isError: false,
    isSuccess: false,
    // eslint-disable-next-line @typescript-eslint/no-explicit-any
    data: undefined as any,
    reset: () => {},
  };
}

/** No active execution — matches the query-result shape the widget reads. */
export function useMyActiveExecution() {
  return {
    // eslint-disable-next-line @typescript-eslint/no-explicit-any
    data: null as any,
    isLoading: false,
    isError: false,
    refetch: () => {},
  };
}
