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 { buildLlmSpeechListTtsHistoryQuery, LlmSpeechListTtsHistoryQueryData, prefetchLlmSpeechListTtsHistory, queryKeyLlmSpeechListTtsHistory } from "./llmSpeechListTtsHistory.core.js"; export { buildLlmSpeechListTtsHistoryQuery, type LlmSpeechListTtsHistoryQueryData, prefetchLlmSpeechListTtsHistory, queryKeyLlmSpeechListTtsHistory, }; export type LlmSpeechListTtsHistoryQueryError = SDKError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError; /** * List text-to-speech history * * @remarks * List stored text-to-speech generations for the authenticated user, newest first by default. */ export declare function useLlmSpeechListTtsHistory(request: operations.ListTextToSpeechHistoryRequest, options?: QueryHookOptions): UseQueryResult; /** * List text-to-speech history * * @remarks * List stored text-to-speech generations for the authenticated user, newest first by default. */ export declare function useLlmSpeechListTtsHistorySuspense(request: operations.ListTextToSpeechHistoryRequest, options?: SuspenseQueryHookOptions): UseSuspenseQueryResult; export declare function setLlmSpeechListTtsHistoryData(client: QueryClient, queryKeyBase: [ parameters: { after?: string | undefined; limit?: number | undefined; order?: operations.ListTextToSpeechHistoryQueryParamOrder | undefined; model?: string | undefined; xOnBehalfOf?: string | undefined; } ], data: LlmSpeechListTtsHistoryQueryData): LlmSpeechListTtsHistoryQueryData | undefined; export declare function invalidateLlmSpeechListTtsHistory(client: QueryClient, queryKeyBase: TupleToPrefixes<[ parameters: { after?: string | undefined; limit?: number | undefined; order?: operations.ListTextToSpeechHistoryQueryParamOrder | undefined; model?: string | undefined; xOnBehalfOf?: string | undefined; } ]>, filters?: Omit): Promise; export declare function invalidateAllLlmSpeechListTtsHistory(client: QueryClient, filters?: Omit): Promise; //# sourceMappingURL=llmSpeechListTtsHistory.d.ts.map