import { Dict } from '../core/types'; export default function useCancel(model: Dict, keys: string[], refreshFlag?: boolean): () => void;