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 { buildLlmFeedbackExportResponseFeedbackQuery, LlmFeedbackExportResponseFeedbackQueryData, prefetchLlmFeedbackExportResponseFeedback, queryKeyLlmFeedbackExportResponseFeedback } from "./llmFeedbackExportResponseFeedback.core.js"; export { buildLlmFeedbackExportResponseFeedbackQuery, type LlmFeedbackExportResponseFeedbackQueryData, prefetchLlmFeedbackExportResponseFeedback, queryKeyLlmFeedbackExportResponseFeedback, }; export type LlmFeedbackExportResponseFeedbackQueryError = SDKError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError; /** * Export response feedback as CSV * * @remarks * Synchronously exports the response feedback entries visible to the caller as a CSV file, ordered by the creation date of the underlying request. Visibility matches the list endpoint: callers see their own feedback; org owners and admins see their whole team. Supports filtering by rating. The export is capped at 50,000 rows; when the cap is hit the response carries an X-Export-Truncated header and older rows (with the default descending order) are omitted. */ export declare function useLlmFeedbackExportResponseFeedback(request: operations.ExportResponseFeedbackRequest, options?: QueryHookOptions): UseQueryResult; /** * Export response feedback as CSV * * @remarks * Synchronously exports the response feedback entries visible to the caller as a CSV file, ordered by the creation date of the underlying request. Visibility matches the list endpoint: callers see their own feedback; org owners and admins see their whole team. Supports filtering by rating. The export is capped at 50,000 rows; when the cap is hit the response carries an X-Export-Truncated header and older rows (with the default descending order) are omitted. */ export declare function useLlmFeedbackExportResponseFeedbackSuspense(request: operations.ExportResponseFeedbackRequest, options?: SuspenseQueryHookOptions): UseSuspenseQueryResult; export declare function setLlmFeedbackExportResponseFeedbackData(client: QueryClient, queryKeyBase: [ parameters: { order?: operations.ExportResponseFeedbackQueryParamOrder | undefined; rating?: operations.ExportResponseFeedbackQueryParamRating | undefined; xOnBehalfOf?: string | undefined; } ], data: LlmFeedbackExportResponseFeedbackQueryData): LlmFeedbackExportResponseFeedbackQueryData | undefined; export declare function invalidateLlmFeedbackExportResponseFeedback(client: QueryClient, queryKeyBase: TupleToPrefixes<[ parameters: { order?: operations.ExportResponseFeedbackQueryParamOrder | undefined; rating?: operations.ExportResponseFeedbackQueryParamRating | undefined; xOnBehalfOf?: string | undefined; } ]>, filters?: Omit): Promise; export declare function invalidateAllLlmFeedbackExportResponseFeedback(client: QueryClient, filters?: Omit): Promise; //# sourceMappingURL=llmFeedbackExportResponseFeedback.d.ts.map