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 { buildLlmPromptsListVersionsQuery, LlmPromptsListVersionsQueryData, prefetchLlmPromptsListVersions, queryKeyLlmPromptsListVersions } from "./llmPromptsListVersions.core.js"; export { buildLlmPromptsListVersionsQuery, type LlmPromptsListVersionsQueryData, prefetchLlmPromptsListVersions, queryKeyLlmPromptsListVersions, }; export type LlmPromptsListVersionsQueryError = SDKError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError; /** * List versions * * @remarks * Returns the version history of a prompt, ordered by version number. */ export declare function useLlmPromptsListVersions(request: operations.ListPromptVersionsRequest, options?: QueryHookOptions): UseQueryResult; /** * List versions * * @remarks * Returns the version history of a prompt, ordered by version number. */ export declare function useLlmPromptsListVersionsSuspense(request: operations.ListPromptVersionsRequest, options?: SuspenseQueryHookOptions): UseSuspenseQueryResult; export declare function setLlmPromptsListVersionsData(client: QueryClient, queryKeyBase: [ id: string, parameters: { limit?: number | undefined; order?: operations.ListPromptVersionsQueryParamOrder | undefined; xOnBehalfOf?: string | undefined; } ], data: LlmPromptsListVersionsQueryData): LlmPromptsListVersionsQueryData | undefined; export declare function invalidateLlmPromptsListVersions(client: QueryClient, queryKeyBase: TupleToPrefixes<[ id: string, parameters: { limit?: number | undefined; order?: operations.ListPromptVersionsQueryParamOrder | undefined; xOnBehalfOf?: string | undefined; } ]>, filters?: Omit): Promise; export declare function invalidateAllLlmPromptsListVersions(client: QueryClient, filters?: Omit): Promise; //# sourceMappingURL=llmPromptsListVersions.d.ts.map