pragma solidity ^0.5.2;

/**
 * @title ERC777 token sender interface
 * @dev See https://eips.ethereum.org/EIPS/eip-777
 */
interface IERC777Sender {
    function tokensToSend(
        address operator,
        address from,
        address to,
        uint amount,
        bytes calldata userData,
        bytes calldata operatorData
    ) external;
}
