package com.atmob.keyboard_android.component.child

import android.view.View
import com.atmob.keyboard_android.component.base.IUIComponent
import com.atmob.keyboard_android.model.AiKeyboardKeyModel

/**
 * 键盘引导组件
 */
interface IKeyboardGuideComponent : IUIComponent {
    interface OnActionCallback {
        /**
         * 结束引导时回调
         */
        fun onFinishGuide()
    }

    /**
     * 绑定引导数据
     */
    fun bindGuideData(
        targetView: View,
        dataModel: AiKeyboardKeyModel,
        finishCallback: OnActionCallback
    )
}