/**
 * Synapse REST API
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: v1
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
import type { AggregationRange } from './AggregationRange';
/**
 * A <a href="https://docs.opensearch.org/latest/aggregations/bucket/date-range/"><code>date_range</code></a> bucket aggregation &mdash; one bucket per caller-defined date range.
 * @export
 * @interface DateRangeAggregation
 */
export interface DateRangeAggregation {
    /**
     * Optional. Whether to return buckets as a keyed object rather than an array.
     * @type {boolean}
     * @memberof DateRangeAggregation
     */
    keyed?: boolean;
    /**
     * Required. The date column to bucket.
     * @type {string}
     * @memberof DateRangeAggregation
     */
    field?: string;
    /**
     * Required. The bucket ranges. Bound values may be dates or date-math expressions.
     * @type {Array<AggregationRange>}
     * @memberof DateRangeAggregation
     */
    ranges?: Array<AggregationRange>;
    /**
     * Optional. UTC offset or IANA zone used to interpret the range bounds.
     * @type {string}
     * @memberof DateRangeAggregation
     */
    time_zone?: string;
    /**
     * Optional. Value assigned to documents missing <code>field</code>.
     * @type {any}
     * @memberof DateRangeAggregation
     */
    missing?: any | null;
    /**
     * Optional. Date format applied to the bucket key in the response.
     * @type {string}
     * @memberof DateRangeAggregation
     */
    format?: string;
}
/**
 * Check if a given object implements the DateRangeAggregation interface.
 */
export declare function instanceOfDateRangeAggregation(value: object): value is DateRangeAggregation;
export declare function DateRangeAggregationFromJSON(json: any): DateRangeAggregation;
export declare function DateRangeAggregationFromJSONTyped(json: any, ignoreDiscriminator: boolean): DateRangeAggregation;
export declare function DateRangeAggregationToJSON(json: any): DateRangeAggregation;
export declare function DateRangeAggregationToJSONTyped(value?: DateRangeAggregation | null, ignoreDiscriminator?: boolean): any;
