/**
 * 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/range/"><code>range</code></a> bucket aggregation &mdash; one bucket per caller-defined numeric range.
 * @export
 * @interface RangeAggregation
 */
export interface RangeAggregation {
    /**
     * Optional. Whether to return buckets as a keyed object rather than an array.
     * @type {boolean}
     * @memberof RangeAggregation
     */
    keyed?: boolean;
    /**
     * Required. The numeric column to bucket.
     * @type {string}
     * @memberof RangeAggregation
     */
    field?: string;
    /**
     * Required. The bucket ranges.
     * @type {Array<AggregationRange>}
     * @memberof RangeAggregation
     */
    ranges?: Array<AggregationRange>;
    /**
     * Optional. Value assigned to documents missing <code>field</code>.
     * @type {any}
     * @memberof RangeAggregation
     */
    missing?: any | null;
    /**
     * Optional. Format applied to the bucket key in the response.
     * @type {string}
     * @memberof RangeAggregation
     */
    format?: string;
}
/**
 * Check if a given object implements the RangeAggregation interface.
 */
export declare function instanceOfRangeAggregation(value: object): value is RangeAggregation;
export declare function RangeAggregationFromJSON(json: any): RangeAggregation;
export declare function RangeAggregationFromJSONTyped(json: any, ignoreDiscriminator: boolean): RangeAggregation;
export declare function RangeAggregationToJSON(json: any): RangeAggregation;
export declare function RangeAggregationToJSONTyped(value?: RangeAggregation | null, ignoreDiscriminator?: boolean): any;
