/**
 * 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 { RescoreQuery } from './RescoreQuery';
/**
 * A <a href="https://docs.opensearch.org/latest/query-dsl/rescore/">rescore</a> stage. Re-ranks the top <code>window_size</code> hits from the main query using a secondary scoring query. A single stage is supported.
 * @export
 * @interface Rescore
 */
export interface Rescore {
    /**
     * Optional. Number of top hits per shard that are re-scored. Capped server-side.
     * @type {number}
     * @memberof Rescore
     */
    window_size?: number;
    /**
     *
     * @type {RescoreQuery}
     * @memberof Rescore
     */
    query?: RescoreQuery;
}
/**
 * Check if a given object implements the Rescore interface.
 */
export declare function instanceOfRescore(value: object): value is Rescore;
export declare function RescoreFromJSON(json: any): Rescore;
export declare function RescoreFromJSONTyped(json: any, ignoreDiscriminator: boolean): Rescore;
export declare function RescoreToJSON(json: any): Rescore;
export declare function RescoreToJSONTyped(value?: Rescore | null, ignoreDiscriminator?: boolean): any;
