import { InvalidateQueryFilters, QueryClient, UseQueryResult, UseSuspenseQueryResult } from "@tanstack/react-query"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js"; import { ResponseValidationError } from "../models/errors/responsevalidationerror.js"; import { SDKError } from "../models/errors/sdkerror.js"; import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; import * as operations from "../models/operations/index.js"; import { QueryHookOptions, SuspenseQueryHookOptions, TupleToPrefixes } from "./_types.js"; import { buildLlmModelsListQuery, LlmModelsListQueryData, prefetchLlmModelsList, queryKeyLlmModelsList } from "./llmModelsList.core.js"; export { buildLlmModelsListQuery, type LlmModelsListQueryData, prefetchLlmModelsList, queryKeyLlmModelsList, }; export type LlmModelsListQueryError = SDKError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError; /** * List available models * * @remarks * Lists the currently available models. Provides basic information about each model including its ID and owner. */ export declare function useLlmModelsList(request: operations.ListModelsRequest, options?: QueryHookOptions): UseQueryResult; /** * List available models * * @remarks * Lists the currently available models. Provides basic information about each model including its ID and owner. */ export declare function useLlmModelsListSuspense(request: operations.ListModelsRequest, options?: SuspenseQueryHookOptions): UseSuspenseQueryResult; export declare function setLlmModelsListData(client: QueryClient, queryKeyBase: [parameters: { xOnBehalfOf?: string | undefined; }], data: LlmModelsListQueryData): LlmModelsListQueryData | undefined; export declare function invalidateLlmModelsList(client: QueryClient, queryKeyBase: TupleToPrefixes<[ parameters: { xOnBehalfOf?: string | undefined; } ]>, filters?: Omit): Promise; export declare function invalidateAllLlmModelsList(client: QueryClient, filters?: Omit): Promise; //# sourceMappingURL=llmModelsList.d.ts.map