@azure/search-documents
Version:
Azure client library to use AI Search for node.js and browser.
17 lines • 891 B
TypeScript
import type { Client, ClientOptions } from "@azure-rest/core-client";
import type { KeyCredential, TokenCredential } from "@azure/core-auth";
export interface SearchContext extends Client {
/** The name of the index. */
indexName: string;
/** The API version to use for this operation. */
/** Known values of {@link KnownVersions} that the service accepts. */
apiVersion?: string;
}
/** Optional parameters for the client. */
export interface SearchClientOptionalParams extends ClientOptions {
/** The API version to use for this operation. */
/** Known values of {@link KnownVersions} that the service accepts. */
apiVersion?: string;
}
export declare function createSearch(endpointParam: string, credential: KeyCredential | TokenCredential, indexName: string, options?: SearchClientOptionalParams): SearchContext;
//# sourceMappingURL=searchContext.d.ts.map