Module Statement.DeclareExportDeclaration

type ('M, 'T) declaration =
  1. | Variable of 'M * ('M, 'T) DeclareVariable.t
  2. | Function of 'M * ('M, 'T) DeclareFunction.t
  3. | Class of 'M * ('M, 'T) DeclareClass.t
  4. | DefaultType of ('M, 'T) Type.t
  5. | NamedType of 'M * ('M, 'T) TypeAlias.t
  6. | NamedOpaqueType of 'M * ('M, 'T) OpaqueType.t
  7. | Interface of 'M * ('M, 'T) Interface.t
and ('M, 'T) t = {
  1. default : 'M option;
  2. declaration : ('M, 'T) declaration option;
  3. specifiers : 'M ExportNamedDeclaration.specifier option;
  4. source : ('M * 'M StringLiteral.t) option;
  5. comments : ('M, unit) Syntax.t option;
}