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 { buildComputeTenantsGetComputeTenantQuery, ComputeTenantsGetComputeTenantQueryData, prefetchComputeTenantsGetComputeTenant, queryKeyComputeTenantsGetComputeTenant } from "./computeTenantsGetComputeTenant.core.js"; export { buildComputeTenantsGetComputeTenantQuery, type ComputeTenantsGetComputeTenantQueryData, prefetchComputeTenantsGetComputeTenant, queryKeyComputeTenantsGetComputeTenant, }; export type ComputeTenantsGetComputeTenantQueryError = SDKError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError; /** * Get a tenant * * @remarks * Cluster-administrator-only. */ export declare function useComputeTenantsGetComputeTenant(request: operations.GetComputeTenantRequest, options?: QueryHookOptions): UseQueryResult; /** * Get a tenant * * @remarks * Cluster-administrator-only. */ export declare function useComputeTenantsGetComputeTenantSuspense(request: operations.GetComputeTenantRequest, options?: SuspenseQueryHookOptions): UseSuspenseQueryResult; export declare function setComputeTenantsGetComputeTenantData(client: QueryClient, queryKeyBase: [ orgId: string, parameters: { xOnBehalfOf?: string | undefined; } ], data: ComputeTenantsGetComputeTenantQueryData): ComputeTenantsGetComputeTenantQueryData | undefined; export declare function invalidateComputeTenantsGetComputeTenant(client: QueryClient, queryKeyBase: TupleToPrefixes<[ orgId: string, parameters: { xOnBehalfOf?: string | undefined; } ]>, filters?: Omit): Promise; export declare function invalidateAllComputeTenantsGetComputeTenant(client: QueryClient, filters?: Omit): Promise; //# sourceMappingURL=computeTenantsGetComputeTenant.d.ts.map