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 { buildLlmExtractGetSchemaQuery, LlmExtractGetSchemaQueryData, prefetchLlmExtractGetSchema, queryKeyLlmExtractGetSchema } from "./llmExtractGetSchema.core.js"; export { buildLlmExtractGetSchemaQuery, type LlmExtractGetSchemaQueryData, prefetchLlmExtractGetSchema, queryKeyLlmExtractGetSchema, }; export type LlmExtractGetSchemaQueryError = SDKError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError; /** * Get extraction schema by ID * * @remarks * Retrieve a stored extraction schema and its metadata. */ export declare function useLlmExtractGetSchema(request: operations.GetExtractSchemaRequest, options?: QueryHookOptions): UseQueryResult; /** * Get extraction schema by ID * * @remarks * Retrieve a stored extraction schema and its metadata. */ export declare function useLlmExtractGetSchemaSuspense(request: operations.GetExtractSchemaRequest, options?: SuspenseQueryHookOptions): UseSuspenseQueryResult; export declare function setLlmExtractGetSchemaData(client: QueryClient, queryKeyBase: [ schemaId: string, parameters: { xOnBehalfOf?: string | undefined; } ], data: LlmExtractGetSchemaQueryData): LlmExtractGetSchemaQueryData | undefined; export declare function invalidateLlmExtractGetSchema(client: QueryClient, queryKeyBase: TupleToPrefixes<[ schemaId: string, parameters: { xOnBehalfOf?: string | undefined; } ]>, filters?: Omit): Promise; export declare function invalidateAllLlmExtractGetSchema(client: QueryClient, filters?: Omit): Promise; //# sourceMappingURL=llmExtractGetSchema.d.ts.map