{motive : Lean.Lsp.DeclarationParams → Sort u} →
  (t : Lean.Lsp.DeclarationParams) →
    ((toTextDocumentPositionParams : Lean.Lsp.TextDocumentPositionParams) →
        motive { toTextDocumentPositionParams := toTextDocumentPositionParams }) →
      motive t