use std::sync::Arc;
pub type ImportAliasHook =
Option<Arc<dyn Fn(String, String) -> Result<String, String> + Send + Sync>>;
pub type ContentInterceptor =
Option<Arc<dyn Fn(&str, &str) -> Result<String, String> + Send + Sync>>;
#[derive(Clone, Default)]
pub struct ParseHooks {
pub import_alias: ImportAliasHook,
pub content_interceptor: ContentInterceptor,
}