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 { buildComputeCatalogListComputeOffersQuery, ComputeCatalogListComputeOffersQueryData, prefetchComputeCatalogListComputeOffers, queryKeyComputeCatalogListComputeOffers } from "./computeCatalogListComputeOffers.core.js"; export { buildComputeCatalogListComputeOffersQuery, type ComputeCatalogListComputeOffersQueryData, prefetchComputeCatalogListComputeOffers, queryKeyComputeCatalogListComputeOffers, }; export type ComputeCatalogListComputeOffersQueryError = SDKError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError; /** * List provider offers * * @remarks * Cluster administrators may always read this route. Organization administrators may read it only when provider anonymity is disabled. */ export declare function useComputeCatalogListComputeOffers(request: operations.ListComputeOffersRequest, options?: QueryHookOptions): UseQueryResult; /** * List provider offers * * @remarks * Cluster administrators may always read this route. Organization administrators may read it only when provider anonymity is disabled. */ export declare function useComputeCatalogListComputeOffersSuspense(request: operations.ListComputeOffersRequest, options?: SuspenseQueryHookOptions): UseSuspenseQueryResult; export declare function setComputeCatalogListComputeOffersData(client: QueryClient, queryKeyBase: [ parameters: { accelerator?: string | undefined; gpuCount?: number | undefined; interconnect?: operations.Interconnect | undefined; provider?: string | undefined; region?: string | undefined; available?: boolean | undefined; cursor?: string | undefined; limit?: number | undefined; xOnBehalfOf?: string | undefined; } ], data: ComputeCatalogListComputeOffersQueryData): ComputeCatalogListComputeOffersQueryData | undefined; export declare function invalidateComputeCatalogListComputeOffers(client: QueryClient, queryKeyBase: TupleToPrefixes<[ parameters: { accelerator?: string | undefined; gpuCount?: number | undefined; interconnect?: operations.Interconnect | undefined; provider?: string | undefined; region?: string | undefined; available?: boolean | undefined; cursor?: string | undefined; limit?: number | undefined; xOnBehalfOf?: string | undefined; } ]>, filters?: Omit): Promise; export declare function invalidateAllComputeCatalogListComputeOffers(client: QueryClient, filters?: Omit): Promise; //# sourceMappingURL=computeCatalogListComputeOffers.d.ts.map