using ZelWiki.Library;

namespace ZelWiki.Engine.Library.Interfaces
{
    /// <summary>
    /// 处理内链
    /// </summary>
    public interface IInternalLinkHandler
    {
        /// <summary>
        /// 
        /// </summary>
        /// <param name="state"></param>
        /// <param name="pageNavigation"></param>
        /// <param name="pageName"></param>
        /// <param name="linkText"></param>
        /// <param name="image"></param>
        /// <param name="imageScale"></param>
        /// <returns></returns>
        public HandlerResult Handle(IZelEngineState state, NamespaceNavigation pageNavigation, string pageName,
            string linkText, string? image, int imageScale);
    }
}