import { InvalidateQueryFilters, QueryClient, UseQueryResult, UseSuspenseQueryResult } from "@tanstack/react-query"; 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 { 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 { AuthOrgsGetQuotaQueryData, buildAuthOrgsGetQuotaQuery, prefetchAuthOrgsGetQuota, queryKeyAuthOrgsGetQuota } from "./authOrgsGetQuota.core.js"; export { type AuthOrgsGetQuotaQueryData, buildAuthOrgsGetQuotaQuery, prefetchAuthOrgsGetQuota, queryKeyAuthOrgsGetQuota, }; export type AuthOrgsGetQuotaQueryError = errors.GetOrgQuotaResponseBody | errors.GetOrgQuotaAuthOrgsResponseBody | errors.GetOrgQuotaAuthOrgsResponseResponseBody | errors.GetOrgQuotaAuthOrgsResponse404ResponseBody | errors.GetOrgQuotaAuthOrgsResponse409ResponseBody | errors.GetOrgQuotaAuthOrgsResponse429ResponseBody | SDKError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError; /** * Get an org's usage quota */ export declare function useAuthOrgsGetQuota(request: operations.GetOrgQuotaRequest, options?: QueryHookOptions): UseQueryResult; /** * Get an org's usage quota */ export declare function useAuthOrgsGetQuotaSuspense(request: operations.GetOrgQuotaRequest, options?: SuspenseQueryHookOptions): UseSuspenseQueryResult; export declare function setAuthOrgsGetQuotaData(client: QueryClient, queryKeyBase: [ orgId: string, parameters: { xOnBehalfOf?: string | undefined; } ], data: AuthOrgsGetQuotaQueryData): AuthOrgsGetQuotaQueryData | undefined; export declare function invalidateAuthOrgsGetQuota(client: QueryClient, queryKeyBase: TupleToPrefixes<[ orgId: string, parameters: { xOnBehalfOf?: string | undefined; } ]>, filters?: Omit): Promise; export declare function invalidateAllAuthOrgsGetQuota(client: QueryClient, filters?: Omit): Promise; //# sourceMappingURL=authOrgsGetQuota.d.ts.map