import { NotificationType } from 'vscode-languageserver' ; import { TextDocument } from 'vscode-languageserver-textdocument' ; export namespace StartWatcherNotification { /**
     * Notification type indicating a FileSystemWatcher should be started in the client.
     */ export const type = new NotificationType < StartWatcherParams , void > ( 'spectral/startWatcher' ) ; } export interface StartWatcherParams { /**
     * The path on which the FileSystemWatcher should be started.
     */ path : string ; } export namespace ValidateNotification { /**
     * Notification type indicating a validation/linting operation should take place.
     */ export const type = new NotificationType < TextDocument , void > ( 'spectral/validate' ) ; }