import type { FromSchema } from 'json-schema-to-ts';
export declare const schema: {
    readonly type: "object";
    readonly properties: {
        readonly text: {
            readonly type: "string";
            readonly description: "The text to search for in the documents.";
        };
        readonly size: {
            readonly type: "integer";
            readonly maximum: 50;
            readonly description: "The maximum number of results to return.";
        };
        readonly from: {
            readonly type: "integer";
            readonly description: "A number of results to skip before starting to collect the result set. This is useful for pagination.";
        };
        readonly sort: {
            readonly type: "array";
            readonly description: "The fields to sort the results by.";
            readonly items: {
                readonly type: "object";
                readonly properties: {
                    readonly field: {
                        readonly type: "string";
                    };
                    readonly order: {
                        readonly type: "string";
                        readonly enum: ["asc", "desc"];
                    };
                };
                readonly required: ["field", "order"];
                readonly additionalProperties: false;
            };
        };
        readonly threshold: {
            readonly type: "number";
            readonly description: "The minimum score a document must have to be returned.";
        };
    };
    readonly required: ["text"];
    readonly additionalProperties: false;
};
export type EmbeddingSearchArgs = FromSchema<typeof schema>;
export declare const validate: import("ajv").ValidateFunction<{
    sort?: {
        field: string;
        order: "asc" | "desc";
    }[] | undefined;
    size?: number | undefined;
    from?: number | undefined;
    threshold?: number | undefined;
    text: string;
}>;
