export default function resolve(functions: any, { isCancelled, toState, fromState, errorKey }: { isCancelled: any; toState: any; fromState: any; errorKey?: any; }, callback: any): void;