(************************************************************************)
(*         *      The Rocq Prover / The Rocq Development Team           *)
(*  v      *         Copyright INRIA, CNRS and contributors             *)
(* <O___,, * (see version control and CREDITS file for authors & dates) *)
(*   \VV/  **************************************************************)
(*    //   *    This file is distributed under the terms of the         *)
(*         *     GNU Lesser General Public License Version 2.1          *)
(*         *     (see LICENSE file for the text of the license)         *)
(************************************************************************)

open Names
open EConstr

val cache_term_by_tactic_then
  :  opaque:bool
  -> name_op:Id.t option
  -> ?goal_type:(constr option)
  -> unit Proofview.tactic
  -> (constr -> constr list -> unit Proofview.tactic)
  -> unit Proofview.tactic

val tclABSTRACT : ?opaque:bool -> Id.t option -> unit Proofview.tactic -> unit Proofview.tactic

val declare_abstract :
  (  name:Names.Id.t
  -> poly:bool
  -> kind:Decls.logical_kind
  -> sign:EConstr.named_context
  -> secsign:Environ.named_context_val
  -> opaque:bool
  -> solve_tac:unit Proofview.tactic
  -> Evd.evar_map
  -> EConstr.t
  -> Evd.side_effects * Evd.evar_map * EConstr.t * EConstr.t list * bool) ref
