Module Statement.DeclareExportDeclaration

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