import { InvalidateQueryFilters, QueryClient, UseQueryResult, UseSuspenseQueryResult } from "@tanstack/react-query"; import { GleanBaseError } from "../models/errors/gleanbaseerror.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js"; import * as errors from "../models/errors/index.js"; import { ResponseValidationError } from "../models/errors/responsevalidationerror.js"; import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; import { QueryHookOptions, SuspenseQueryHookOptions, TupleToPrefixes } from "./_types.js"; import { buildClientAgentsRetrieveSchemasQuery, ClientAgentsRetrieveSchemasQueryData, prefetchClientAgentsRetrieveSchemas, queryKeyClientAgentsRetrieveSchemas } from "./clientAgentsRetrieveSchemas.core.js"; export { buildClientAgentsRetrieveSchemasQuery, type ClientAgentsRetrieveSchemasQueryData, prefetchClientAgentsRetrieveSchemas, queryKeyClientAgentsRetrieveSchemas, }; export type ClientAgentsRetrieveSchemasQueryError = errors.ErrorResponse | GleanBaseError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError; /** * List an agent's schemas * * @remarks * Return [agent](https://developers.glean.com/agents/agents-api)'s input and output schemas. You can use these schemas to detect changes to an agent's input or output structure. */ export declare function useClientAgentsRetrieveSchemas(agentId: string, locale?: string | undefined, timezoneOffset?: number | undefined, options?: QueryHookOptions): UseQueryResult; /** * List an agent's schemas * * @remarks * Return [agent](https://developers.glean.com/agents/agents-api)'s input and output schemas. You can use these schemas to detect changes to an agent's input or output structure. */ export declare function useClientAgentsRetrieveSchemasSuspense(agentId: string, locale?: string | undefined, timezoneOffset?: number | undefined, options?: SuspenseQueryHookOptions): UseSuspenseQueryResult; export declare function setClientAgentsRetrieveSchemasData(client: QueryClient, queryKeyBase: [ agentId: string, parameters: { locale?: string | undefined; timezoneOffset?: number | undefined; } ], data: ClientAgentsRetrieveSchemasQueryData): ClientAgentsRetrieveSchemasQueryData | undefined; export declare function invalidateClientAgentsRetrieveSchemas(client: QueryClient, queryKeyBase: TupleToPrefixes<[ agentId: string, parameters: { locale?: string | undefined; timezoneOffset?: number | undefined; } ]>, filters?: Omit): Promise; export declare function invalidateAllClientAgentsRetrieveSchemas(client: QueryClient, filters?: Omit): Promise; //# sourceMappingURL=clientAgentsRetrieveSchemas.d.ts.map