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 { buildLlmPromptsListQuery, LlmPromptsListQueryData, prefetchLlmPromptsList, queryKeyLlmPromptsList } from "./llmPromptsList.core.js"; export { buildLlmPromptsListQuery, type LlmPromptsListQueryData, prefetchLlmPromptsList, queryKeyLlmPromptsList, }; export type LlmPromptsListQueryError = SDKError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError; /** * List prompts * * @remarks * Returns a paginated list of prompts owned by the authenticated user. */ export declare function useLlmPromptsList(request: operations.ListPromptsRequest, options?: QueryHookOptions): UseQueryResult; /** * List prompts * * @remarks * Returns a paginated list of prompts owned by the authenticated user. */ export declare function useLlmPromptsListSuspense(request: operations.ListPromptsRequest, options?: SuspenseQueryHookOptions): UseSuspenseQueryResult; export declare function setLlmPromptsListData(client: QueryClient, queryKeyBase: [ parameters: { limit?: number | undefined; after?: string | undefined; order?: operations.ListPromptsQueryParamOrder | undefined; xOnBehalfOf?: string | undefined; } ], data: LlmPromptsListQueryData): LlmPromptsListQueryData | undefined; export declare function invalidateLlmPromptsList(client: QueryClient, queryKeyBase: TupleToPrefixes<[ parameters: { limit?: number | undefined; after?: string | undefined; order?: operations.ListPromptsQueryParamOrder | undefined; xOnBehalfOf?: string | undefined; } ]>, filters?: Omit): Promise; export declare function invalidateAllLlmPromptsList(client: QueryClient, filters?: Omit): Promise; //# sourceMappingURL=llmPromptsList.d.ts.map