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 { BudgetsGetApiKeyQueryData, buildBudgetsGetApiKeyQuery, prefetchBudgetsGetApiKey, queryKeyBudgetsGetApiKey } from "./budgetsGetApiKey.core.js"; export { type BudgetsGetApiKeyQueryData, buildBudgetsGetApiKeyQuery, prefetchBudgetsGetApiKey, queryKeyBudgetsGetApiKey, }; export type BudgetsGetApiKeyQueryError = SDKError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError; /** * List apikey budgets * * @remarks * Returns the apikey's budgets (self-budget and/or ceiling) with each one's live spend gauge. Callable by cluster admins, or org admins for API keys in their own organization. */ export declare function useBudgetsGetApiKey(request: operations.GetApiKeyBudgetsRequest, options?: QueryHookOptions): UseQueryResult; /** * List apikey budgets * * @remarks * Returns the apikey's budgets (self-budget and/or ceiling) with each one's live spend gauge. Callable by cluster admins, or org admins for API keys in their own organization. */ export declare function useBudgetsGetApiKeySuspense(request: operations.GetApiKeyBudgetsRequest, options?: SuspenseQueryHookOptions): UseSuspenseQueryResult; export declare function setBudgetsGetApiKeyData(client: QueryClient, queryKeyBase: [apiKeyId: string], data: BudgetsGetApiKeyQueryData): BudgetsGetApiKeyQueryData | undefined; export declare function invalidateBudgetsGetApiKey(client: QueryClient, queryKeyBase: TupleToPrefixes<[apiKeyId: string]>, filters?: Omit): Promise; export declare function invalidateAllBudgetsGetApiKey(client: QueryClient, filters?: Omit): Promise; //# sourceMappingURL=budgetsGetApiKey.d.ts.map