import ElasticSearchPropertyBuilder from "./elastic-search-property-builder"; export interface PropertyAndName { name: string; property: ElasticSearchMappingProperty; } export default class ElasticSearchMappingProperty { private builder; type?: string; include_in_parent?: Boolean; properties?: Array; fields?: any; constructor(builder: ElasticSearchPropertyBuilder, type?: string); setFields(fields: any): this; setIncludeInParent(includeInParent: boolean): ElasticSearchMappingProperty; end(): ElasticSearchPropertyBuilder; build(): any; }