@kkdev92/vscode-ext-kit - v4.1.1
    Preparing search index...

    Interface NotificationService

    Severity-tagged notifications and confirmation dialogs.

    Reached through the Notifications token, or straight off a handler's context.notify — the same instance either way.

    Every member resolves to what the user chose, not to a string: an action carries its own value, so branching on the result needs no comparison against a label that a translation will change.

    interface NotificationService {
        confirm(message: string, options?: ConfirmOptions): Promise<boolean>;
        error<T = never>(
            message: string,
            options?: NotifyOptions<T>,
        ): Promise<T | undefined>;
        info<T = never>(
            message: string,
            options?: NotifyOptions<T>,
        ): Promise<T | undefined>;
        warn<T = never>(
            message: string,
            options?: NotifyOptions<T>,
        ): Promise<T | undefined>;
    }
    Index