import { InvalidateQueryFilters, QueryClient, UseQueryResult, UseSuspenseQueryResult } from "@tanstack/react-query"; import * as components from "../models/components/index.js"; 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 { buildComputeServicesListServicesQuery, ComputeServicesListServicesQueryData, prefetchComputeServicesListServices, queryKeyComputeServicesListServices } from "./computeServicesListServices.core.js"; export { buildComputeServicesListServicesQuery, type ComputeServicesListServicesQueryData, prefetchComputeServicesListServices, queryKeyComputeServicesListServices, }; export type ComputeServicesListServicesQueryError = SDKError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError; /** * List services */ export declare function useComputeServicesListServices(request: operations.ListServicesRequest, options?: QueryHookOptions): UseQueryResult; /** * List services */ export declare function useComputeServicesListServicesSuspense(request: operations.ListServicesRequest, options?: SuspenseQueryHookOptions): UseSuspenseQueryResult; export declare function setComputeServicesListServicesData(client: QueryClient, queryKeyBase: [ parameters: { state?: components.ComputeResourceState | undefined; cursor?: string | undefined; limit?: number | undefined; xOnBehalfOf?: string | undefined; } ], data: ComputeServicesListServicesQueryData): ComputeServicesListServicesQueryData | undefined; export declare function invalidateComputeServicesListServices(client: QueryClient, queryKeyBase: TupleToPrefixes<[ parameters: { state?: components.ComputeResourceState | undefined; cursor?: string | undefined; limit?: number | undefined; xOnBehalfOf?: string | undefined; } ]>, filters?: Omit): Promise; export declare function invalidateAllComputeServicesListServices(client: QueryClient, filters?: Omit): Promise; //# sourceMappingURL=computeServicesListServices.d.ts.map