You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: use_grouped_type_import.rs
    path of file: ./repos/tools/crates/rome_js_analyze/src/analyzers/nursery
    
    the code of the file until where you have to start completion: use crate::JsRuleAction;
use rome_analyze::{context::RuleContext, declare_rule, ActionCategory, Ast, Rule, RuleDiagnostic};
use rome_console::markup;
use rome_diagnostics::Applicability;
use rome_js_factory::make;
use rome_js_syntax::{
    AnyJsNamedImport, AnyJsNamedImportSpecifier, JsImportNamedClause, TriviaPieceKind, T,
};
use rome_rowan::{AstNode, AstSeparatedList, BatchMutationExt};

declare_rule! {
    /// Enforce the use of `import type` when an `import` only has specifiers with `type` qualifier.
    ///
    /// The [`--verbatimModuleSyntax`](h
    
    fn run(ctx: &RuleContext<Self>) -> Self::Signals {
        let node = ctx.query();
        if node.type_token().is_some() || node.default_specifier().is_some() {
            return None;
        }
        if node
            .named_import()
            .ok()?
            .as_js_named_import_specifiers()?
            .specifiers()
            .is_empty()
        {
            // import {} from ...
            return None;
        }
        node.named_import()
            .ok()?
            .as_js_named_import_specifiers()?
            .specifiers()
            .iter()
            .all(|specifier| {
                let Ok(specifier) = specifier else { return false };
                match specifier {
                    AnyJsNamedImportSpecifier::JsBogusNamedImportSpecifier(_) => false,
                    AnyJsNamedImportSpecifier::JsNamedImportSpecifier(specifier) => {
                        specifier.type_token().is_some()
                    }
                    AnyJsNamedImportSpecifier::JsShorthandNamedImportSpecifier(specifier) => {
                        specifier.type_token().is_some()
                    }
                }
            })
            .then_some(())
    }