import * as z from "zod/v3";
import { ClosedEnum } from "../../types/enums.js";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
/**
 * The type of search to perform. If not provided, will default to the knowledge base configured `retrieval_type`
 */
export declare const SearchType: {
    readonly VectorSearch: "vector_search";
    readonly KeywordSearch: "keyword_search";
    readonly HybridSearch: "hybrid_search";
};
/**
 * The type of search to perform. If not provided, will default to the knowledge base configured `retrieval_type`
 */
export type SearchType = ClosedEnum<typeof SearchType>;
/**
 * Exists
 */
export type SearchKnowledgeOrExists = {
    exists: boolean;
};
export type SearchKnowledgeOrKnowledgeNin = string | number | boolean;
/**
 * Not in
 */
export type SearchKnowledgeOrNin = {
    nin: Array<string | number | boolean>;
};
export type SearchKnowledgeOrKnowledgeIn = string | number | boolean;
/**
 * In
 */
export type SearchKnowledgeOrIn = {
    in: Array<string | number | boolean>;
};
/**
 * Less than or equal to
 */
export type SearchKnowledgeOrLte = {
    lte: number;
};
/**
 * Less than
 */
export type SearchKnowledgeOrLt = {
    lt: number;
};
/**
 * Greater than or equal to
 */
export type SearchKnowledgeOrGte = {
    gte: number;
};
/**
 * Greater than
 */
export type SearchKnowledgeOrGt = {
    gt: number;
};
export type SearchKnowledgeOrKnowledgeNe = string | number | boolean;
/**
 * Not equal to
 */
export type SearchKnowledgeOrNe = {
    ne: string | number | boolean;
};
export type SearchKnowledgeOrKnowledgeEq = string | number | boolean;
/**
 * Equal to
 */
export type SearchKnowledgeOrEq = {
    eq: string | number | boolean;
};
export type SearchKnowledgeFilterByOr = SearchKnowledgeOrEq | SearchKnowledgeOrNe | SearchKnowledgeOrGt | SearchKnowledgeOrGte | SearchKnowledgeOrLt | SearchKnowledgeOrLte | SearchKnowledgeOrIn | SearchKnowledgeOrNin | SearchKnowledgeOrExists;
/**
 * Or
 */
export type FilterByOr = {
    or: Array<{
        [k: string]: SearchKnowledgeOrEq | SearchKnowledgeOrNe | SearchKnowledgeOrGt | SearchKnowledgeOrGte | SearchKnowledgeOrLt | SearchKnowledgeOrLte | SearchKnowledgeOrIn | SearchKnowledgeOrNin | SearchKnowledgeOrExists;
    }>;
};
/**
 * Exists
 */
export type SearchKnowledgeAndExists = {
    exists: boolean;
};
export type SearchKnowledgeAndKnowledgeNin = string | number | boolean;
/**
 * Not in
 */
export type SearchKnowledgeAndNin = {
    nin: Array<string | number | boolean>;
};
export type SearchKnowledgeAndKnowledgeIn = string | number | boolean;
/**
 * In
 */
export type SearchKnowledgeAndIn = {
    in: Array<string | number | boolean>;
};
/**
 * Less than or equal to
 */
export type SearchKnowledgeAndLte = {
    lte: number;
};
/**
 * Less than
 */
export type SearchKnowledgeAndLt = {
    lt: number;
};
/**
 * Greater than or equal to
 */
export type SearchKnowledgeAndGte = {
    gte: number;
};
/**
 * Greater than
 */
export type SearchKnowledgeAndGt = {
    gt: number;
};
export type SearchKnowledgeAndKnowledgeNe = string | number | boolean;
/**
 * Not equal to
 */
export type SearchKnowledgeAndNe = {
    ne: string | number | boolean;
};
export type SearchKnowledgeAndKnowledgeEq = string | number | boolean;
/**
 * Equal to
 */
export type SearchKnowledgeAndEq = {
    eq: string | number | boolean;
};
export type SearchKnowledgeFilterByAnd = SearchKnowledgeAndEq | SearchKnowledgeAndNe | SearchKnowledgeAndGt | SearchKnowledgeAndGte | SearchKnowledgeAndLt | SearchKnowledgeAndLte | SearchKnowledgeAndIn | SearchKnowledgeAndNin | SearchKnowledgeAndExists;
/**
 * And
 */
export type FilterByAnd = {
    and: Array<{
        [k: string]: SearchKnowledgeAndEq | SearchKnowledgeAndNe | SearchKnowledgeAndGt | SearchKnowledgeAndGte | SearchKnowledgeAndLt | SearchKnowledgeAndLte | SearchKnowledgeAndIn | SearchKnowledgeAndNin | SearchKnowledgeAndExists;
    }>;
};
/**
 * Exists
 */
export type SearchKnowledge1Exists = {
    exists: boolean;
};
export type SearchKnowledge1KnowledgeNin = string | number | boolean;
/**
 * Not in
 */
export type SearchKnowledge1Nin = {
    nin: Array<string | number | boolean>;
};
export type SearchKnowledge1KnowledgeIn = string | number | boolean;
/**
 * In
 */
export type SearchKnowledge1In = {
    in: Array<string | number | boolean>;
};
/**
 * Less than or equal to
 */
export type SearchKnowledge1Lte = {
    lte: number;
};
/**
 * Less than
 */
export type SearchKnowledge1Lt = {
    lt: number;
};
/**
 * Greater than or equal to
 */
export type SearchKnowledge1Gte = {
    gte: number;
};
/**
 * Greater than
 */
export type SearchKnowledge1Gt = {
    gt: number;
};
export type SearchKnowledge1KnowledgeNe = string | number | boolean;
/**
 * Not equal to
 */
export type SearchKnowledge1Ne = {
    ne: string | number | boolean;
};
export type SearchKnowledge1KnowledgeEq = string | number | boolean;
/**
 * Equal to
 */
export type SearchKnowledge1Eq = {
    eq: string | number | boolean;
};
export type FilterBy1 = SearchKnowledge1Eq | SearchKnowledge1Ne | SearchKnowledge1Gt | SearchKnowledge1Gte | SearchKnowledge1Lt | SearchKnowledge1Lte | SearchKnowledge1In | SearchKnowledge1Nin | SearchKnowledge1Exists;
/**
 * The metadata filter to apply to the search. Check the [Searching a Knowledge Base](https://dash.readme.com/project/orqai/v2.0/docs/searching-a-knowledge-base) for more information.
 */
export type FilterBy = FilterByAnd | FilterByOr | {
    [k: string]: SearchKnowledge1Eq | SearchKnowledge1Ne | SearchKnowledge1Gt | SearchKnowledge1Gte | SearchKnowledge1Lt | SearchKnowledge1Lte | SearchKnowledge1In | SearchKnowledge1Nin | SearchKnowledge1Exists;
};
/**
 * Additional search options
 */
export type SearchOptions = {
    /**
     * Whether to include the vector in the chunk
     */
    includeVectors?: boolean | undefined;
    /**
     * Whether to include the metadata in the chunk
     */
    includeMetadata?: boolean | undefined;
    /**
     * Whether to include the scores in the chunk
     */
    includeScores?: boolean | undefined;
};
/**
 * Override the rerank configuration for this search. If not provided, will use the knowledge base configured rerank settings.
 */
export type RerankConfig = {
    /**
     * The name of the rerank model to use. Refer to the [model list](https://docs.orq.ai/docs/proxy#/rerank-models).
     */
    model: string;
    /**
     * The threshold value used to filter the rerank results, only documents with a relevance score greater than the threshold will be returned
     */
    threshold?: number | undefined;
    /**
     * The number of top results to return after reranking. If not provided, will default to the knowledge base configured `top_k`.
     */
    topK?: number | undefined;
};
/**
 * Override the agentic RAG configuration for this search. If not provided, will use the knowledge base configured agentic RAG settings.
 */
export type AgenticRagConfig = {
    /**
     * The name of the model for the Agent to use. Refer to the [model list](https://docs.orq.ai/docs/proxy#/chat-models).
     */
    model: string;
};
/**
 * A search request for chunks in a knowledge base
 */
export type SearchKnowledgeRequestBody = {
    /**
     * The query to use to search the knowledge base
     */
    query: string;
    /**
     * The number of results to return. If not provided, will default to the knowledge base configured `top_k`.
     */
    topK?: number | undefined;
    /**
     * The threshold to apply to the search. If not provided, will default to the knowledge base configured `threshold`
     */
    threshold?: number | undefined;
    /**
     * The type of search to perform. If not provided, will default to the knowledge base configured `retrieval_type`
     */
    searchType?: SearchType | undefined;
    /**
     * The metadata filter to apply to the search. Check the [Searching a Knowledge Base](https://dash.readme.com/project/orqai/v2.0/docs/searching-a-knowledge-base) for more information.
     */
    filterBy?: FilterByAnd | FilterByOr | {
        [k: string]: SearchKnowledge1Eq | SearchKnowledge1Ne | SearchKnowledge1Gt | SearchKnowledge1Gte | SearchKnowledge1Lt | SearchKnowledge1Lte | SearchKnowledge1In | SearchKnowledge1Nin | SearchKnowledge1Exists;
    } | undefined;
    /**
     * Additional search options
     */
    searchOptions?: SearchOptions | undefined;
    /**
     * Override the rerank configuration for this search. If not provided, will use the knowledge base configured rerank settings.
     */
    rerankConfig?: RerankConfig | undefined;
    /**
     * Override the agentic RAG configuration for this search. If not provided, will use the knowledge base configured agentic RAG settings.
     */
    agenticRagConfig?: AgenticRagConfig | undefined;
};
export type SearchKnowledgeRequest = {
    /**
     * The unique identifier or key of the knowledge base
     */
    knowledgeId: string;
    /**
     * A search request for chunks in a knowledge base
     */
    requestBody?: SearchKnowledgeRequestBody | undefined;
};
export type Scores = {
    rerankScore?: number | undefined;
    searchScore?: number | undefined;
};
export type Matches = {
    id: string;
    text: string;
    vector?: Array<number> | undefined;
    metadata?: {
        [k: string]: any;
    } | undefined;
    scores?: Scores | undefined;
};
/**
 * Search knowledge base
 */
export type SearchKnowledgeResponseBody = {
    matches: Array<Matches>;
};
/** @internal */
export declare const SearchType$inboundSchema: z.ZodNativeEnum<typeof SearchType>;
/** @internal */
export declare const SearchType$outboundSchema: z.ZodNativeEnum<typeof SearchType>;
/** @internal */
export declare const SearchKnowledgeOrExists$inboundSchema: z.ZodType<SearchKnowledgeOrExists, z.ZodTypeDef, unknown>;
/** @internal */
export type SearchKnowledgeOrExists$Outbound = {
    exists: boolean;
};
/** @internal */
export declare const SearchKnowledgeOrExists$outboundSchema: z.ZodType<SearchKnowledgeOrExists$Outbound, z.ZodTypeDef, SearchKnowledgeOrExists>;
export declare function searchKnowledgeOrExistsToJSON(searchKnowledgeOrExists: SearchKnowledgeOrExists): string;
export declare function searchKnowledgeOrExistsFromJSON(jsonString: string): SafeParseResult<SearchKnowledgeOrExists, SDKValidationError>;
/** @internal */
export declare const SearchKnowledgeOrKnowledgeNin$inboundSchema: z.ZodType<SearchKnowledgeOrKnowledgeNin, z.ZodTypeDef, unknown>;
/** @internal */
export type SearchKnowledgeOrKnowledgeNin$Outbound = string | number | boolean;
/** @internal */
export declare const SearchKnowledgeOrKnowledgeNin$outboundSchema: z.ZodType<SearchKnowledgeOrKnowledgeNin$Outbound, z.ZodTypeDef, SearchKnowledgeOrKnowledgeNin>;
export declare function searchKnowledgeOrKnowledgeNinToJSON(searchKnowledgeOrKnowledgeNin: SearchKnowledgeOrKnowledgeNin): string;
export declare function searchKnowledgeOrKnowledgeNinFromJSON(jsonString: string): SafeParseResult<SearchKnowledgeOrKnowledgeNin, SDKValidationError>;
/** @internal */
export declare const SearchKnowledgeOrNin$inboundSchema: z.ZodType<SearchKnowledgeOrNin, z.ZodTypeDef, unknown>;
/** @internal */
export type SearchKnowledgeOrNin$Outbound = {
    nin: Array<string | number | boolean>;
};
/** @internal */
export declare const SearchKnowledgeOrNin$outboundSchema: z.ZodType<SearchKnowledgeOrNin$Outbound, z.ZodTypeDef, SearchKnowledgeOrNin>;
export declare function searchKnowledgeOrNinToJSON(searchKnowledgeOrNin: SearchKnowledgeOrNin): string;
export declare function searchKnowledgeOrNinFromJSON(jsonString: string): SafeParseResult<SearchKnowledgeOrNin, SDKValidationError>;
/** @internal */
export declare const SearchKnowledgeOrKnowledgeIn$inboundSchema: z.ZodType<SearchKnowledgeOrKnowledgeIn, z.ZodTypeDef, unknown>;
/** @internal */
export type SearchKnowledgeOrKnowledgeIn$Outbound = string | number | boolean;
/** @internal */
export declare const SearchKnowledgeOrKnowledgeIn$outboundSchema: z.ZodType<SearchKnowledgeOrKnowledgeIn$Outbound, z.ZodTypeDef, SearchKnowledgeOrKnowledgeIn>;
export declare function searchKnowledgeOrKnowledgeInToJSON(searchKnowledgeOrKnowledgeIn: SearchKnowledgeOrKnowledgeIn): string;
export declare function searchKnowledgeOrKnowledgeInFromJSON(jsonString: string): SafeParseResult<SearchKnowledgeOrKnowledgeIn, SDKValidationError>;
/** @internal */
export declare const SearchKnowledgeOrIn$inboundSchema: z.ZodType<SearchKnowledgeOrIn, z.ZodTypeDef, unknown>;
/** @internal */
export type SearchKnowledgeOrIn$Outbound = {
    in: Array<string | number | boolean>;
};
/** @internal */
export declare const SearchKnowledgeOrIn$outboundSchema: z.ZodType<SearchKnowledgeOrIn$Outbound, z.ZodTypeDef, SearchKnowledgeOrIn>;
export declare function searchKnowledgeOrInToJSON(searchKnowledgeOrIn: SearchKnowledgeOrIn): string;
export declare function searchKnowledgeOrInFromJSON(jsonString: string): SafeParseResult<SearchKnowledgeOrIn, SDKValidationError>;
/** @internal */
export declare const SearchKnowledgeOrLte$inboundSchema: z.ZodType<SearchKnowledgeOrLte, z.ZodTypeDef, unknown>;
/** @internal */
export type SearchKnowledgeOrLte$Outbound = {
    lte: number;
};
/** @internal */
export declare const SearchKnowledgeOrLte$outboundSchema: z.ZodType<SearchKnowledgeOrLte$Outbound, z.ZodTypeDef, SearchKnowledgeOrLte>;
export declare function searchKnowledgeOrLteToJSON(searchKnowledgeOrLte: SearchKnowledgeOrLte): string;
export declare function searchKnowledgeOrLteFromJSON(jsonString: string): SafeParseResult<SearchKnowledgeOrLte, SDKValidationError>;
/** @internal */
export declare const SearchKnowledgeOrLt$inboundSchema: z.ZodType<SearchKnowledgeOrLt, z.ZodTypeDef, unknown>;
/** @internal */
export type SearchKnowledgeOrLt$Outbound = {
    lt: number;
};
/** @internal */
export declare const SearchKnowledgeOrLt$outboundSchema: z.ZodType<SearchKnowledgeOrLt$Outbound, z.ZodTypeDef, SearchKnowledgeOrLt>;
export declare function searchKnowledgeOrLtToJSON(searchKnowledgeOrLt: SearchKnowledgeOrLt): string;
export declare function searchKnowledgeOrLtFromJSON(jsonString: string): SafeParseResult<SearchKnowledgeOrLt, SDKValidationError>;
/** @internal */
export declare const SearchKnowledgeOrGte$inboundSchema: z.ZodType<SearchKnowledgeOrGte, z.ZodTypeDef, unknown>;
/** @internal */
export type SearchKnowledgeOrGte$Outbound = {
    gte: number;
};
/** @internal */
export declare const SearchKnowledgeOrGte$outboundSchema: z.ZodType<SearchKnowledgeOrGte$Outbound, z.ZodTypeDef, SearchKnowledgeOrGte>;
export declare function searchKnowledgeOrGteToJSON(searchKnowledgeOrGte: SearchKnowledgeOrGte): string;
export declare function searchKnowledgeOrGteFromJSON(jsonString: string): SafeParseResult<SearchKnowledgeOrGte, SDKValidationError>;
/** @internal */
export declare const SearchKnowledgeOrGt$inboundSchema: z.ZodType<SearchKnowledgeOrGt, z.ZodTypeDef, unknown>;
/** @internal */
export type SearchKnowledgeOrGt$Outbound = {
    gt: number;
};
/** @internal */
export declare const SearchKnowledgeOrGt$outboundSchema: z.ZodType<SearchKnowledgeOrGt$Outbound, z.ZodTypeDef, SearchKnowledgeOrGt>;
export declare function searchKnowledgeOrGtToJSON(searchKnowledgeOrGt: SearchKnowledgeOrGt): string;
export declare function searchKnowledgeOrGtFromJSON(jsonString: string): SafeParseResult<SearchKnowledgeOrGt, SDKValidationError>;
/** @internal */
export declare const SearchKnowledgeOrKnowledgeNe$inboundSchema: z.ZodType<SearchKnowledgeOrKnowledgeNe, z.ZodTypeDef, unknown>;
/** @internal */
export type SearchKnowledgeOrKnowledgeNe$Outbound = string | number | boolean;
/** @internal */
export declare const SearchKnowledgeOrKnowledgeNe$outboundSchema: z.ZodType<SearchKnowledgeOrKnowledgeNe$Outbound, z.ZodTypeDef, SearchKnowledgeOrKnowledgeNe>;
export declare function searchKnowledgeOrKnowledgeNeToJSON(searchKnowledgeOrKnowledgeNe: SearchKnowledgeOrKnowledgeNe): string;
export declare function searchKnowledgeOrKnowledgeNeFromJSON(jsonString: string): SafeParseResult<SearchKnowledgeOrKnowledgeNe, SDKValidationError>;
/** @internal */
export declare const SearchKnowledgeOrNe$inboundSchema: z.ZodType<SearchKnowledgeOrNe, z.ZodTypeDef, unknown>;
/** @internal */
export type SearchKnowledgeOrNe$Outbound = {
    ne: string | number | boolean;
};
/** @internal */
export declare const SearchKnowledgeOrNe$outboundSchema: z.ZodType<SearchKnowledgeOrNe$Outbound, z.ZodTypeDef, SearchKnowledgeOrNe>;
export declare function searchKnowledgeOrNeToJSON(searchKnowledgeOrNe: SearchKnowledgeOrNe): string;
export declare function searchKnowledgeOrNeFromJSON(jsonString: string): SafeParseResult<SearchKnowledgeOrNe, SDKValidationError>;
/** @internal */
export declare const SearchKnowledgeOrKnowledgeEq$inboundSchema: z.ZodType<SearchKnowledgeOrKnowledgeEq, z.ZodTypeDef, unknown>;
/** @internal */
export type SearchKnowledgeOrKnowledgeEq$Outbound = string | number | boolean;
/** @internal */
export declare const SearchKnowledgeOrKnowledgeEq$outboundSchema: z.ZodType<SearchKnowledgeOrKnowledgeEq$Outbound, z.ZodTypeDef, SearchKnowledgeOrKnowledgeEq>;
export declare function searchKnowledgeOrKnowledgeEqToJSON(searchKnowledgeOrKnowledgeEq: SearchKnowledgeOrKnowledgeEq): string;
export declare function searchKnowledgeOrKnowledgeEqFromJSON(jsonString: string): SafeParseResult<SearchKnowledgeOrKnowledgeEq, SDKValidationError>;
/** @internal */
export declare const SearchKnowledgeOrEq$inboundSchema: z.ZodType<SearchKnowledgeOrEq, z.ZodTypeDef, unknown>;
/** @internal */
export type SearchKnowledgeOrEq$Outbound = {
    eq: string | number | boolean;
};
/** @internal */
export declare const SearchKnowledgeOrEq$outboundSchema: z.ZodType<SearchKnowledgeOrEq$Outbound, z.ZodTypeDef, SearchKnowledgeOrEq>;
export declare function searchKnowledgeOrEqToJSON(searchKnowledgeOrEq: SearchKnowledgeOrEq): string;
export declare function searchKnowledgeOrEqFromJSON(jsonString: string): SafeParseResult<SearchKnowledgeOrEq, SDKValidationError>;
/** @internal */
export declare const SearchKnowledgeFilterByOr$inboundSchema: z.ZodType<SearchKnowledgeFilterByOr, z.ZodTypeDef, unknown>;
/** @internal */
export type SearchKnowledgeFilterByOr$Outbound = SearchKnowledgeOrEq$Outbound | SearchKnowledgeOrNe$Outbound | SearchKnowledgeOrGt$Outbound | SearchKnowledgeOrGte$Outbound | SearchKnowledgeOrLt$Outbound | SearchKnowledgeOrLte$Outbound | SearchKnowledgeOrIn$Outbound | SearchKnowledgeOrNin$Outbound | SearchKnowledgeOrExists$Outbound;
/** @internal */
export declare const SearchKnowledgeFilterByOr$outboundSchema: z.ZodType<SearchKnowledgeFilterByOr$Outbound, z.ZodTypeDef, SearchKnowledgeFilterByOr>;
export declare function searchKnowledgeFilterByOrToJSON(searchKnowledgeFilterByOr: SearchKnowledgeFilterByOr): string;
export declare function searchKnowledgeFilterByOrFromJSON(jsonString: string): SafeParseResult<SearchKnowledgeFilterByOr, SDKValidationError>;
/** @internal */
export declare const FilterByOr$inboundSchema: z.ZodType<FilterByOr, z.ZodTypeDef, unknown>;
/** @internal */
export type FilterByOr$Outbound = {
    or: Array<{
        [k: string]: SearchKnowledgeOrEq$Outbound | SearchKnowledgeOrNe$Outbound | SearchKnowledgeOrGt$Outbound | SearchKnowledgeOrGte$Outbound | SearchKnowledgeOrLt$Outbound | SearchKnowledgeOrLte$Outbound | SearchKnowledgeOrIn$Outbound | SearchKnowledgeOrNin$Outbound | SearchKnowledgeOrExists$Outbound;
    }>;
};
/** @internal */
export declare const FilterByOr$outboundSchema: z.ZodType<FilterByOr$Outbound, z.ZodTypeDef, FilterByOr>;
export declare function filterByOrToJSON(filterByOr: FilterByOr): string;
export declare function filterByOrFromJSON(jsonString: string): SafeParseResult<FilterByOr, SDKValidationError>;
/** @internal */
export declare const SearchKnowledgeAndExists$inboundSchema: z.ZodType<SearchKnowledgeAndExists, z.ZodTypeDef, unknown>;
/** @internal */
export type SearchKnowledgeAndExists$Outbound = {
    exists: boolean;
};
/** @internal */
export declare const SearchKnowledgeAndExists$outboundSchema: z.ZodType<SearchKnowledgeAndExists$Outbound, z.ZodTypeDef, SearchKnowledgeAndExists>;
export declare function searchKnowledgeAndExistsToJSON(searchKnowledgeAndExists: SearchKnowledgeAndExists): string;
export declare function searchKnowledgeAndExistsFromJSON(jsonString: string): SafeParseResult<SearchKnowledgeAndExists, SDKValidationError>;
/** @internal */
export declare const SearchKnowledgeAndKnowledgeNin$inboundSchema: z.ZodType<SearchKnowledgeAndKnowledgeNin, z.ZodTypeDef, unknown>;
/** @internal */
export type SearchKnowledgeAndKnowledgeNin$Outbound = string | number | boolean;
/** @internal */
export declare const SearchKnowledgeAndKnowledgeNin$outboundSchema: z.ZodType<SearchKnowledgeAndKnowledgeNin$Outbound, z.ZodTypeDef, SearchKnowledgeAndKnowledgeNin>;
export declare function searchKnowledgeAndKnowledgeNinToJSON(searchKnowledgeAndKnowledgeNin: SearchKnowledgeAndKnowledgeNin): string;
export declare function searchKnowledgeAndKnowledgeNinFromJSON(jsonString: string): SafeParseResult<SearchKnowledgeAndKnowledgeNin, SDKValidationError>;
/** @internal */
export declare const SearchKnowledgeAndNin$inboundSchema: z.ZodType<SearchKnowledgeAndNin, z.ZodTypeDef, unknown>;
/** @internal */
export type SearchKnowledgeAndNin$Outbound = {
    nin: Array<string | number | boolean>;
};
/** @internal */
export declare const SearchKnowledgeAndNin$outboundSchema: z.ZodType<SearchKnowledgeAndNin$Outbound, z.ZodTypeDef, SearchKnowledgeAndNin>;
export declare function searchKnowledgeAndNinToJSON(searchKnowledgeAndNin: SearchKnowledgeAndNin): string;
export declare function searchKnowledgeAndNinFromJSON(jsonString: string): SafeParseResult<SearchKnowledgeAndNin, SDKValidationError>;
/** @internal */
export declare const SearchKnowledgeAndKnowledgeIn$inboundSchema: z.ZodType<SearchKnowledgeAndKnowledgeIn, z.ZodTypeDef, unknown>;
/** @internal */
export type SearchKnowledgeAndKnowledgeIn$Outbound = string | number | boolean;
/** @internal */
export declare const SearchKnowledgeAndKnowledgeIn$outboundSchema: z.ZodType<SearchKnowledgeAndKnowledgeIn$Outbound, z.ZodTypeDef, SearchKnowledgeAndKnowledgeIn>;
export declare function searchKnowledgeAndKnowledgeInToJSON(searchKnowledgeAndKnowledgeIn: SearchKnowledgeAndKnowledgeIn): string;
export declare function searchKnowledgeAndKnowledgeInFromJSON(jsonString: string): SafeParseResult<SearchKnowledgeAndKnowledgeIn, SDKValidationError>;
/** @internal */
export declare const SearchKnowledgeAndIn$inboundSchema: z.ZodType<SearchKnowledgeAndIn, z.ZodTypeDef, unknown>;
/** @internal */
export type SearchKnowledgeAndIn$Outbound = {
    in: Array<string | number | boolean>;
};
/** @internal */
export declare const SearchKnowledgeAndIn$outboundSchema: z.ZodType<SearchKnowledgeAndIn$Outbound, z.ZodTypeDef, SearchKnowledgeAndIn>;
export declare function searchKnowledgeAndInToJSON(searchKnowledgeAndIn: SearchKnowledgeAndIn): string;
export declare function searchKnowledgeAndInFromJSON(jsonString: string): SafeParseResult<SearchKnowledgeAndIn, SDKValidationError>;
/** @internal */
export declare const SearchKnowledgeAndLte$inboundSchema: z.ZodType<SearchKnowledgeAndLte, z.ZodTypeDef, unknown>;
/** @internal */
export type SearchKnowledgeAndLte$Outbound = {
    lte: number;
};
/** @internal */
export declare const SearchKnowledgeAndLte$outboundSchema: z.ZodType<SearchKnowledgeAndLte$Outbound, z.ZodTypeDef, SearchKnowledgeAndLte>;
export declare function searchKnowledgeAndLteToJSON(searchKnowledgeAndLte: SearchKnowledgeAndLte): string;
export declare function searchKnowledgeAndLteFromJSON(jsonString: string): SafeParseResult<SearchKnowledgeAndLte, SDKValidationError>;
/** @internal */
export declare const SearchKnowledgeAndLt$inboundSchema: z.ZodType<SearchKnowledgeAndLt, z.ZodTypeDef, unknown>;
/** @internal */
export type SearchKnowledgeAndLt$Outbound = {
    lt: number;
};
/** @internal */
export declare const SearchKnowledgeAndLt$outboundSchema: z.ZodType<SearchKnowledgeAndLt$Outbound, z.ZodTypeDef, SearchKnowledgeAndLt>;
export declare function searchKnowledgeAndLtToJSON(searchKnowledgeAndLt: SearchKnowledgeAndLt): string;
export declare function searchKnowledgeAndLtFromJSON(jsonString: string): SafeParseResult<SearchKnowledgeAndLt, SDKValidationError>;
/** @internal */
export declare const SearchKnowledgeAndGte$inboundSchema: z.ZodType<SearchKnowledgeAndGte, z.ZodTypeDef, unknown>;
/** @internal */
export type SearchKnowledgeAndGte$Outbound = {
    gte: number;
};
/** @internal */
export declare const SearchKnowledgeAndGte$outboundSchema: z.ZodType<SearchKnowledgeAndGte$Outbound, z.ZodTypeDef, SearchKnowledgeAndGte>;
export declare function searchKnowledgeAndGteToJSON(searchKnowledgeAndGte: SearchKnowledgeAndGte): string;
export declare function searchKnowledgeAndGteFromJSON(jsonString: string): SafeParseResult<SearchKnowledgeAndGte, SDKValidationError>;
/** @internal */
export declare const SearchKnowledgeAndGt$inboundSchema: z.ZodType<SearchKnowledgeAndGt, z.ZodTypeDef, unknown>;
/** @internal */
export type SearchKnowledgeAndGt$Outbound = {
    gt: number;
};
/** @internal */
export declare const SearchKnowledgeAndGt$outboundSchema: z.ZodType<SearchKnowledgeAndGt$Outbound, z.ZodTypeDef, SearchKnowledgeAndGt>;
export declare function searchKnowledgeAndGtToJSON(searchKnowledgeAndGt: SearchKnowledgeAndGt): string;
export declare function searchKnowledgeAndGtFromJSON(jsonString: string): SafeParseResult<SearchKnowledgeAndGt, SDKValidationError>;
/** @internal */
export declare const SearchKnowledgeAndKnowledgeNe$inboundSchema: z.ZodType<SearchKnowledgeAndKnowledgeNe, z.ZodTypeDef, unknown>;
/** @internal */
export type SearchKnowledgeAndKnowledgeNe$Outbound = string | number | boolean;
/** @internal */
export declare const SearchKnowledgeAndKnowledgeNe$outboundSchema: z.ZodType<SearchKnowledgeAndKnowledgeNe$Outbound, z.ZodTypeDef, SearchKnowledgeAndKnowledgeNe>;
export declare function searchKnowledgeAndKnowledgeNeToJSON(searchKnowledgeAndKnowledgeNe: SearchKnowledgeAndKnowledgeNe): string;
export declare function searchKnowledgeAndKnowledgeNeFromJSON(jsonString: string): SafeParseResult<SearchKnowledgeAndKnowledgeNe, SDKValidationError>;
/** @internal */
export declare const SearchKnowledgeAndNe$inboundSchema: z.ZodType<SearchKnowledgeAndNe, z.ZodTypeDef, unknown>;
/** @internal */
export type SearchKnowledgeAndNe$Outbound = {
    ne: string | number | boolean;
};
/** @internal */
export declare const SearchKnowledgeAndNe$outboundSchema: z.ZodType<SearchKnowledgeAndNe$Outbound, z.ZodTypeDef, SearchKnowledgeAndNe>;
export declare function searchKnowledgeAndNeToJSON(searchKnowledgeAndNe: SearchKnowledgeAndNe): string;
export declare function searchKnowledgeAndNeFromJSON(jsonString: string): SafeParseResult<SearchKnowledgeAndNe, SDKValidationError>;
/** @internal */
export declare const SearchKnowledgeAndKnowledgeEq$inboundSchema: z.ZodType<SearchKnowledgeAndKnowledgeEq, z.ZodTypeDef, unknown>;
/** @internal */
export type SearchKnowledgeAndKnowledgeEq$Outbound = string | number | boolean;
/** @internal */
export declare const SearchKnowledgeAndKnowledgeEq$outboundSchema: z.ZodType<SearchKnowledgeAndKnowledgeEq$Outbound, z.ZodTypeDef, SearchKnowledgeAndKnowledgeEq>;
export declare function searchKnowledgeAndKnowledgeEqToJSON(searchKnowledgeAndKnowledgeEq: SearchKnowledgeAndKnowledgeEq): string;
export declare function searchKnowledgeAndKnowledgeEqFromJSON(jsonString: string): SafeParseResult<SearchKnowledgeAndKnowledgeEq, SDKValidationError>;
/** @internal */
export declare const SearchKnowledgeAndEq$inboundSchema: z.ZodType<SearchKnowledgeAndEq, z.ZodTypeDef, unknown>;
/** @internal */
export type SearchKnowledgeAndEq$Outbound = {
    eq: string | number | boolean;
};
/** @internal */
export declare const SearchKnowledgeAndEq$outboundSchema: z.ZodType<SearchKnowledgeAndEq$Outbound, z.ZodTypeDef, SearchKnowledgeAndEq>;
export declare function searchKnowledgeAndEqToJSON(searchKnowledgeAndEq: SearchKnowledgeAndEq): string;
export declare function searchKnowledgeAndEqFromJSON(jsonString: string): SafeParseResult<SearchKnowledgeAndEq, SDKValidationError>;
/** @internal */
export declare const SearchKnowledgeFilterByAnd$inboundSchema: z.ZodType<SearchKnowledgeFilterByAnd, z.ZodTypeDef, unknown>;
/** @internal */
export type SearchKnowledgeFilterByAnd$Outbound = SearchKnowledgeAndEq$Outbound | SearchKnowledgeAndNe$Outbound | SearchKnowledgeAndGt$Outbound | SearchKnowledgeAndGte$Outbound | SearchKnowledgeAndLt$Outbound | SearchKnowledgeAndLte$Outbound | SearchKnowledgeAndIn$Outbound | SearchKnowledgeAndNin$Outbound | SearchKnowledgeAndExists$Outbound;
/** @internal */
export declare const SearchKnowledgeFilterByAnd$outboundSchema: z.ZodType<SearchKnowledgeFilterByAnd$Outbound, z.ZodTypeDef, SearchKnowledgeFilterByAnd>;
export declare function searchKnowledgeFilterByAndToJSON(searchKnowledgeFilterByAnd: SearchKnowledgeFilterByAnd): string;
export declare function searchKnowledgeFilterByAndFromJSON(jsonString: string): SafeParseResult<SearchKnowledgeFilterByAnd, SDKValidationError>;
/** @internal */
export declare const FilterByAnd$inboundSchema: z.ZodType<FilterByAnd, z.ZodTypeDef, unknown>;
/** @internal */
export type FilterByAnd$Outbound = {
    and: Array<{
        [k: string]: SearchKnowledgeAndEq$Outbound | SearchKnowledgeAndNe$Outbound | SearchKnowledgeAndGt$Outbound | SearchKnowledgeAndGte$Outbound | SearchKnowledgeAndLt$Outbound | SearchKnowledgeAndLte$Outbound | SearchKnowledgeAndIn$Outbound | SearchKnowledgeAndNin$Outbound | SearchKnowledgeAndExists$Outbound;
    }>;
};
/** @internal */
export declare const FilterByAnd$outboundSchema: z.ZodType<FilterByAnd$Outbound, z.ZodTypeDef, FilterByAnd>;
export declare function filterByAndToJSON(filterByAnd: FilterByAnd): string;
export declare function filterByAndFromJSON(jsonString: string): SafeParseResult<FilterByAnd, SDKValidationError>;
/** @internal */
export declare const SearchKnowledge1Exists$inboundSchema: z.ZodType<SearchKnowledge1Exists, z.ZodTypeDef, unknown>;
/** @internal */
export type SearchKnowledge1Exists$Outbound = {
    exists: boolean;
};
/** @internal */
export declare const SearchKnowledge1Exists$outboundSchema: z.ZodType<SearchKnowledge1Exists$Outbound, z.ZodTypeDef, SearchKnowledge1Exists>;
export declare function searchKnowledge1ExistsToJSON(searchKnowledge1Exists: SearchKnowledge1Exists): string;
export declare function searchKnowledge1ExistsFromJSON(jsonString: string): SafeParseResult<SearchKnowledge1Exists, SDKValidationError>;
/** @internal */
export declare const SearchKnowledge1KnowledgeNin$inboundSchema: z.ZodType<SearchKnowledge1KnowledgeNin, z.ZodTypeDef, unknown>;
/** @internal */
export type SearchKnowledge1KnowledgeNin$Outbound = string | number | boolean;
/** @internal */
export declare const SearchKnowledge1KnowledgeNin$outboundSchema: z.ZodType<SearchKnowledge1KnowledgeNin$Outbound, z.ZodTypeDef, SearchKnowledge1KnowledgeNin>;
export declare function searchKnowledge1KnowledgeNinToJSON(searchKnowledge1KnowledgeNin: SearchKnowledge1KnowledgeNin): string;
export declare function searchKnowledge1KnowledgeNinFromJSON(jsonString: string): SafeParseResult<SearchKnowledge1KnowledgeNin, SDKValidationError>;
/** @internal */
export declare const SearchKnowledge1Nin$inboundSchema: z.ZodType<SearchKnowledge1Nin, z.ZodTypeDef, unknown>;
/** @internal */
export type SearchKnowledge1Nin$Outbound = {
    nin: Array<string | number | boolean>;
};
/** @internal */
export declare const SearchKnowledge1Nin$outboundSchema: z.ZodType<SearchKnowledge1Nin$Outbound, z.ZodTypeDef, SearchKnowledge1Nin>;
export declare function searchKnowledge1NinToJSON(searchKnowledge1Nin: SearchKnowledge1Nin): string;
export declare function searchKnowledge1NinFromJSON(jsonString: string): SafeParseResult<SearchKnowledge1Nin, SDKValidationError>;
/** @internal */
export declare const SearchKnowledge1KnowledgeIn$inboundSchema: z.ZodType<SearchKnowledge1KnowledgeIn, z.ZodTypeDef, unknown>;
/** @internal */
export type SearchKnowledge1KnowledgeIn$Outbound = string | number | boolean;
/** @internal */
export declare const SearchKnowledge1KnowledgeIn$outboundSchema: z.ZodType<SearchKnowledge1KnowledgeIn$Outbound, z.ZodTypeDef, SearchKnowledge1KnowledgeIn>;
export declare function searchKnowledge1KnowledgeInToJSON(searchKnowledge1KnowledgeIn: SearchKnowledge1KnowledgeIn): string;
export declare function searchKnowledge1KnowledgeInFromJSON(jsonString: string): SafeParseResult<SearchKnowledge1KnowledgeIn, SDKValidationError>;
/** @internal */
export declare const SearchKnowledge1In$inboundSchema: z.ZodType<SearchKnowledge1In, z.ZodTypeDef, unknown>;
/** @internal */
export type SearchKnowledge1In$Outbound = {
    in: Array<string | number | boolean>;
};
/** @internal */
export declare const SearchKnowledge1In$outboundSchema: z.ZodType<SearchKnowledge1In$Outbound, z.ZodTypeDef, SearchKnowledge1In>;
export declare function searchKnowledge1InToJSON(searchKnowledge1In: SearchKnowledge1In): string;
export declare function searchKnowledge1InFromJSON(jsonString: string): SafeParseResult<SearchKnowledge1In, SDKValidationError>;
/** @internal */
export declare const SearchKnowledge1Lte$inboundSchema: z.ZodType<SearchKnowledge1Lte, z.ZodTypeDef, unknown>;
/** @internal */
export type SearchKnowledge1Lte$Outbound = {
    lte: number;
};
/** @internal */
export declare const SearchKnowledge1Lte$outboundSchema: z.ZodType<SearchKnowledge1Lte$Outbound, z.ZodTypeDef, SearchKnowledge1Lte>;
export declare function searchKnowledge1LteToJSON(searchKnowledge1Lte: SearchKnowledge1Lte): string;
export declare function searchKnowledge1LteFromJSON(jsonString: string): SafeParseResult<SearchKnowledge1Lte, SDKValidationError>;
/** @internal */
export declare const SearchKnowledge1Lt$inboundSchema: z.ZodType<SearchKnowledge1Lt, z.ZodTypeDef, unknown>;
/** @internal */
export type SearchKnowledge1Lt$Outbound = {
    lt: number;
};
/** @internal */
export declare const SearchKnowledge1Lt$outboundSchema: z.ZodType<SearchKnowledge1Lt$Outbound, z.ZodTypeDef, SearchKnowledge1Lt>;
export declare function searchKnowledge1LtToJSON(searchKnowledge1Lt: SearchKnowledge1Lt): string;
export declare function searchKnowledge1LtFromJSON(jsonString: string): SafeParseResult<SearchKnowledge1Lt, SDKValidationError>;
/** @internal */
export declare const SearchKnowledge1Gte$inboundSchema: z.ZodType<SearchKnowledge1Gte, z.ZodTypeDef, unknown>;
/** @internal */
export type SearchKnowledge1Gte$Outbound = {
    gte: number;
};
/** @internal */
export declare const SearchKnowledge1Gte$outboundSchema: z.ZodType<SearchKnowledge1Gte$Outbound, z.ZodTypeDef, SearchKnowledge1Gte>;
export declare function searchKnowledge1GteToJSON(searchKnowledge1Gte: SearchKnowledge1Gte): string;
export declare function searchKnowledge1GteFromJSON(jsonString: string): SafeParseResult<SearchKnowledge1Gte, SDKValidationError>;
/** @internal */
export declare const SearchKnowledge1Gt$inboundSchema: z.ZodType<SearchKnowledge1Gt, z.ZodTypeDef, unknown>;
/** @internal */
export type SearchKnowledge1Gt$Outbound = {
    gt: number;
};
/** @internal */
export declare const SearchKnowledge1Gt$outboundSchema: z.ZodType<SearchKnowledge1Gt$Outbound, z.ZodTypeDef, SearchKnowledge1Gt>;
export declare function searchKnowledge1GtToJSON(searchKnowledge1Gt: SearchKnowledge1Gt): string;
export declare function searchKnowledge1GtFromJSON(jsonString: string): SafeParseResult<SearchKnowledge1Gt, SDKValidationError>;
/** @internal */
export declare const SearchKnowledge1KnowledgeNe$inboundSchema: z.ZodType<SearchKnowledge1KnowledgeNe, z.ZodTypeDef, unknown>;
/** @internal */
export type SearchKnowledge1KnowledgeNe$Outbound = string | number | boolean;
/** @internal */
export declare const SearchKnowledge1KnowledgeNe$outboundSchema: z.ZodType<SearchKnowledge1KnowledgeNe$Outbound, z.ZodTypeDef, SearchKnowledge1KnowledgeNe>;
export declare function searchKnowledge1KnowledgeNeToJSON(searchKnowledge1KnowledgeNe: SearchKnowledge1KnowledgeNe): string;
export declare function searchKnowledge1KnowledgeNeFromJSON(jsonString: string): SafeParseResult<SearchKnowledge1KnowledgeNe, SDKValidationError>;
/** @internal */
export declare const SearchKnowledge1Ne$inboundSchema: z.ZodType<SearchKnowledge1Ne, z.ZodTypeDef, unknown>;
/** @internal */
export type SearchKnowledge1Ne$Outbound = {
    ne: string | number | boolean;
};
/** @internal */
export declare const SearchKnowledge1Ne$outboundSchema: z.ZodType<SearchKnowledge1Ne$Outbound, z.ZodTypeDef, SearchKnowledge1Ne>;
export declare function searchKnowledge1NeToJSON(searchKnowledge1Ne: SearchKnowledge1Ne): string;
export declare function searchKnowledge1NeFromJSON(jsonString: string): SafeParseResult<SearchKnowledge1Ne, SDKValidationError>;
/** @internal */
export declare const SearchKnowledge1KnowledgeEq$inboundSchema: z.ZodType<SearchKnowledge1KnowledgeEq, z.ZodTypeDef, unknown>;
/** @internal */
export type SearchKnowledge1KnowledgeEq$Outbound = string | number | boolean;
/** @internal */
export declare const SearchKnowledge1KnowledgeEq$outboundSchema: z.ZodType<SearchKnowledge1KnowledgeEq$Outbound, z.ZodTypeDef, SearchKnowledge1KnowledgeEq>;
export declare function searchKnowledge1KnowledgeEqToJSON(searchKnowledge1KnowledgeEq: SearchKnowledge1KnowledgeEq): string;
export declare function searchKnowledge1KnowledgeEqFromJSON(jsonString: string): SafeParseResult<SearchKnowledge1KnowledgeEq, SDKValidationError>;
/** @internal */
export declare const SearchKnowledge1Eq$inboundSchema: z.ZodType<SearchKnowledge1Eq, z.ZodTypeDef, unknown>;
/** @internal */
export type SearchKnowledge1Eq$Outbound = {
    eq: string | number | boolean;
};
/** @internal */
export declare const SearchKnowledge1Eq$outboundSchema: z.ZodType<SearchKnowledge1Eq$Outbound, z.ZodTypeDef, SearchKnowledge1Eq>;
export declare function searchKnowledge1EqToJSON(searchKnowledge1Eq: SearchKnowledge1Eq): string;
export declare function searchKnowledge1EqFromJSON(jsonString: string): SafeParseResult<SearchKnowledge1Eq, SDKValidationError>;
/** @internal */
export declare const FilterBy1$inboundSchema: z.ZodType<FilterBy1, z.ZodTypeDef, unknown>;
/** @internal */
export type FilterBy1$Outbound = SearchKnowledge1Eq$Outbound | SearchKnowledge1Ne$Outbound | SearchKnowledge1Gt$Outbound | SearchKnowledge1Gte$Outbound | SearchKnowledge1Lt$Outbound | SearchKnowledge1Lte$Outbound | SearchKnowledge1In$Outbound | SearchKnowledge1Nin$Outbound | SearchKnowledge1Exists$Outbound;
/** @internal */
export declare const FilterBy1$outboundSchema: z.ZodType<FilterBy1$Outbound, z.ZodTypeDef, FilterBy1>;
export declare function filterBy1ToJSON(filterBy1: FilterBy1): string;
export declare function filterBy1FromJSON(jsonString: string): SafeParseResult<FilterBy1, SDKValidationError>;
/** @internal */
export declare const FilterBy$inboundSchema: z.ZodType<FilterBy, z.ZodTypeDef, unknown>;
/** @internal */
export type FilterBy$Outbound = FilterByAnd$Outbound | FilterByOr$Outbound | {
    [k: string]: SearchKnowledge1Eq$Outbound | SearchKnowledge1Ne$Outbound | SearchKnowledge1Gt$Outbound | SearchKnowledge1Gte$Outbound | SearchKnowledge1Lt$Outbound | SearchKnowledge1Lte$Outbound | SearchKnowledge1In$Outbound | SearchKnowledge1Nin$Outbound | SearchKnowledge1Exists$Outbound;
};
/** @internal */
export declare const FilterBy$outboundSchema: z.ZodType<FilterBy$Outbound, z.ZodTypeDef, FilterBy>;
export declare function filterByToJSON(filterBy: FilterBy): string;
export declare function filterByFromJSON(jsonString: string): SafeParseResult<FilterBy, SDKValidationError>;
/** @internal */
export declare const SearchOptions$inboundSchema: z.ZodType<SearchOptions, z.ZodTypeDef, unknown>;
/** @internal */
export type SearchOptions$Outbound = {
    include_vectors?: boolean | undefined;
    include_metadata?: boolean | undefined;
    include_scores?: boolean | undefined;
};
/** @internal */
export declare const SearchOptions$outboundSchema: z.ZodType<SearchOptions$Outbound, z.ZodTypeDef, SearchOptions>;
export declare function searchOptionsToJSON(searchOptions: SearchOptions): string;
export declare function searchOptionsFromJSON(jsonString: string): SafeParseResult<SearchOptions, SDKValidationError>;
/** @internal */
export declare const RerankConfig$inboundSchema: z.ZodType<RerankConfig, z.ZodTypeDef, unknown>;
/** @internal */
export type RerankConfig$Outbound = {
    model: string;
    threshold: number;
    top_k: number;
};
/** @internal */
export declare const RerankConfig$outboundSchema: z.ZodType<RerankConfig$Outbound, z.ZodTypeDef, RerankConfig>;
export declare function rerankConfigToJSON(rerankConfig: RerankConfig): string;
export declare function rerankConfigFromJSON(jsonString: string): SafeParseResult<RerankConfig, SDKValidationError>;
/** @internal */
export declare const AgenticRagConfig$inboundSchema: z.ZodType<AgenticRagConfig, z.ZodTypeDef, unknown>;
/** @internal */
export type AgenticRagConfig$Outbound = {
    model: string;
};
/** @internal */
export declare const AgenticRagConfig$outboundSchema: z.ZodType<AgenticRagConfig$Outbound, z.ZodTypeDef, AgenticRagConfig>;
export declare function agenticRagConfigToJSON(agenticRagConfig: AgenticRagConfig): string;
export declare function agenticRagConfigFromJSON(jsonString: string): SafeParseResult<AgenticRagConfig, SDKValidationError>;
/** @internal */
export declare const SearchKnowledgeRequestBody$inboundSchema: z.ZodType<SearchKnowledgeRequestBody, z.ZodTypeDef, unknown>;
/** @internal */
export type SearchKnowledgeRequestBody$Outbound = {
    query: string;
    top_k?: number | undefined;
    threshold?: number | undefined;
    search_type: string;
    filter_by?: FilterByAnd$Outbound | FilterByOr$Outbound | {
        [k: string]: SearchKnowledge1Eq$Outbound | SearchKnowledge1Ne$Outbound | SearchKnowledge1Gt$Outbound | SearchKnowledge1Gte$Outbound | SearchKnowledge1Lt$Outbound | SearchKnowledge1Lte$Outbound | SearchKnowledge1In$Outbound | SearchKnowledge1Nin$Outbound | SearchKnowledge1Exists$Outbound;
    } | undefined;
    search_options?: SearchOptions$Outbound | undefined;
    rerank_config?: RerankConfig$Outbound | undefined;
    agentic_rag_config?: AgenticRagConfig$Outbound | undefined;
};
/** @internal */
export declare const SearchKnowledgeRequestBody$outboundSchema: z.ZodType<SearchKnowledgeRequestBody$Outbound, z.ZodTypeDef, SearchKnowledgeRequestBody>;
export declare function searchKnowledgeRequestBodyToJSON(searchKnowledgeRequestBody: SearchKnowledgeRequestBody): string;
export declare function searchKnowledgeRequestBodyFromJSON(jsonString: string): SafeParseResult<SearchKnowledgeRequestBody, SDKValidationError>;
/** @internal */
export declare const SearchKnowledgeRequest$inboundSchema: z.ZodType<SearchKnowledgeRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type SearchKnowledgeRequest$Outbound = {
    knowledge_id: string;
    RequestBody?: SearchKnowledgeRequestBody$Outbound | undefined;
};
/** @internal */
export declare const SearchKnowledgeRequest$outboundSchema: z.ZodType<SearchKnowledgeRequest$Outbound, z.ZodTypeDef, SearchKnowledgeRequest>;
export declare function searchKnowledgeRequestToJSON(searchKnowledgeRequest: SearchKnowledgeRequest): string;
export declare function searchKnowledgeRequestFromJSON(jsonString: string): SafeParseResult<SearchKnowledgeRequest, SDKValidationError>;
/** @internal */
export declare const Scores$inboundSchema: z.ZodType<Scores, z.ZodTypeDef, unknown>;
/** @internal */
export type Scores$Outbound = {
    rerank_score?: number | undefined;
    search_score?: number | undefined;
};
/** @internal */
export declare const Scores$outboundSchema: z.ZodType<Scores$Outbound, z.ZodTypeDef, Scores>;
export declare function scoresToJSON(scores: Scores): string;
export declare function scoresFromJSON(jsonString: string): SafeParseResult<Scores, SDKValidationError>;
/** @internal */
export declare const Matches$inboundSchema: z.ZodType<Matches, z.ZodTypeDef, unknown>;
/** @internal */
export type Matches$Outbound = {
    id: string;
    text: string;
    vector?: Array<number> | undefined;
    metadata?: {
        [k: string]: any;
    } | undefined;
    scores?: Scores$Outbound | undefined;
};
/** @internal */
export declare const Matches$outboundSchema: z.ZodType<Matches$Outbound, z.ZodTypeDef, Matches>;
export declare function matchesToJSON(matches: Matches): string;
export declare function matchesFromJSON(jsonString: string): SafeParseResult<Matches, SDKValidationError>;
/** @internal */
export declare const SearchKnowledgeResponseBody$inboundSchema: z.ZodType<SearchKnowledgeResponseBody, z.ZodTypeDef, unknown>;
/** @internal */
export type SearchKnowledgeResponseBody$Outbound = {
    matches: Array<Matches$Outbound>;
};
/** @internal */
export declare const SearchKnowledgeResponseBody$outboundSchema: z.ZodType<SearchKnowledgeResponseBody$Outbound, z.ZodTypeDef, SearchKnowledgeResponseBody>;
export declare function searchKnowledgeResponseBodyToJSON(searchKnowledgeResponseBody: SearchKnowledgeResponseBody): string;
export declare function searchKnowledgeResponseBodyFromJSON(jsonString: string): SafeParseResult<SearchKnowledgeResponseBody, SDKValidationError>;
//# sourceMappingURL=searchknowledge.d.ts.map