import type { AnyAction } from 'redux'; import type { ActionPattern } from 'redux-saga/effects'; import type { CancellableHandler } from '../../types'; export default function cancellableHandler({ handlerArg, CANCEL, handler, onComplete, }: CancellableHandler): Generator | import("redux-saga/effects").TakeEffect>, void, unknown>;