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 { buildLlmSpeechGetTtsHistoryContentQuery, LlmSpeechGetTtsHistoryContentQueryData, prefetchLlmSpeechGetTtsHistoryContent, queryKeyLlmSpeechGetTtsHistoryContent } from "./llmSpeechGetTtsHistoryContent.core.js"; export { buildLlmSpeechGetTtsHistoryContentQuery, type LlmSpeechGetTtsHistoryContentQueryData, prefetchLlmSpeechGetTtsHistoryContent, queryKeyLlmSpeechGetTtsHistoryContent, }; export type LlmSpeechGetTtsHistoryContentQueryError = SDKError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError; export { GetTtsHistoryContentAcceptEnum } from "../funcs/llmSpeechGetTtsHistoryContent.js"; /** * Retrieve text-to-speech audio * * @remarks * Returns the stored audio for a text-to-speech generation as a binary response. */ export declare function useLlmSpeechGetTtsHistoryContent(request: operations.GetTextToSpeechHistoryContentRequest, options?: QueryHookOptions): UseQueryResult; /** * Retrieve text-to-speech audio * * @remarks * Returns the stored audio for a text-to-speech generation as a binary response. */ export declare function useLlmSpeechGetTtsHistoryContentSuspense(request: operations.GetTextToSpeechHistoryContentRequest, options?: SuspenseQueryHookOptions): UseSuspenseQueryResult; export declare function setLlmSpeechGetTtsHistoryContentData(client: QueryClient, queryKeyBase: [ ttsId: string, parameters: { xOnBehalfOf?: string | undefined; } ], data: LlmSpeechGetTtsHistoryContentQueryData): LlmSpeechGetTtsHistoryContentQueryData | undefined; export declare function invalidateLlmSpeechGetTtsHistoryContent(client: QueryClient, queryKeyBase: TupleToPrefixes<[ ttsId: string, parameters: { xOnBehalfOf?: string | undefined; } ]>, filters?: Omit): Promise; export declare function invalidateAllLlmSpeechGetTtsHistoryContent(client: QueryClient, filters?: Omit): Promise; //# sourceMappingURL=llmSpeechGetTtsHistoryContent.d.ts.map