Statement.DeclareExportDeclarationtype ('M, 'T) declaration = | Variable of 'M * ('M, 'T) DeclareVariable.t| Function of 'M * ('M, 'T) DeclareFunction.t| Class of 'M * ('M, 'T) DeclareClass.t| Component of 'M * ('M, 'T) DeclareComponent.t| DefaultType of ('M, 'T) Type.t| NamedType of 'M * ('M, 'T) TypeAlias.t| NamedOpaqueType of 'M * ('M, 'T) OpaqueType.t| Interface of 'M * ('M, 'T) Interface.t| Enum of 'M * ('M, 'T) EnumDeclaration.tand ('M, 'T) t = {default : 'M option;declaration : ('M, 'T) declaration option;specifiers : ('M, 'T) ExportNamedDeclaration.specifier option;source : ('T * 'M StringLiteral.t) option;comments : ('M, unit) Syntax.t option;}val pp_declaration :
(Format.formatter -> 'M -> unit) ->
(Format.formatter -> 'T -> unit) ->
Format.formatter ->
('M, 'T) declaration ->
unitval show_declaration :
(Format.formatter -> 'M -> unit) ->
(Format.formatter -> 'T -> unit) ->
('M, 'T) declaration ->
stringval pp :
(Format.formatter -> 'M -> unit) ->
(Format.formatter -> 'T -> unit) ->
Format.formatter ->
('M, 'T) t ->
unitval show :
(Format.formatter -> 'M -> unit) ->
(Format.formatter -> 'T -> unit) ->
('M, 'T) t ->
string