import type { LlamaCloudApi, LlamaCloudApiClient } from "@llamaindex/cloud"; import type { NodeWithScore } from "../Node.js"; import type { BaseRetriever, RetrieveParams } from "../Retriever.js"; import type { ClientParams, CloudConstructorParams } from "./types.js"; export type CloudRetrieveParams = Omit & { similarityTopK?: number; }; export declare class LlamaCloudRetriever implements BaseRetriever { client?: LlamaCloudApiClient; clientParams: ClientParams; retrieveParams: CloudRetrieveParams; projectName: string; pipelineName: string; private resultNodesToNodeWithScore; constructor(params: CloudConstructorParams & CloudRetrieveParams); private getClient; retrieve({ query, preFilters, }: RetrieveParams): Promise; }