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 { BudgetsGetTeamQueryData, buildBudgetsGetTeamQuery, prefetchBudgetsGetTeam, queryKeyBudgetsGetTeam } from "./budgetsGetTeam.core.js"; export { type BudgetsGetTeamQueryData, buildBudgetsGetTeamQuery, prefetchBudgetsGetTeam, queryKeyBudgetsGetTeam, }; export type BudgetsGetTeamQueryError = SDKError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError; /** * List team budgets * * @remarks * Returns the team's budgets in the target org (self-budget and/or ceiling) with each one's live spend gauge. Targets the caller's own organization (inferred from the API key or session) unless the optional org_id query parameter names another org — cluster admins only. Callable by cluster admins, or org admins for teams in their own organization (owner=org). */ export declare function useBudgetsGetTeam(request: operations.GetTeamBudgetsRequest, options?: QueryHookOptions): UseQueryResult; /** * List team budgets * * @remarks * Returns the team's budgets in the target org (self-budget and/or ceiling) with each one's live spend gauge. Targets the caller's own organization (inferred from the API key or session) unless the optional org_id query parameter names another org — cluster admins only. Callable by cluster admins, or org admins for teams in their own organization (owner=org). */ export declare function useBudgetsGetTeamSuspense(request: operations.GetTeamBudgetsRequest, options?: SuspenseQueryHookOptions): UseSuspenseQueryResult; export declare function setBudgetsGetTeamData(client: QueryClient, queryKeyBase: [id: string, parameters: { orgId?: string | undefined; }], data: BudgetsGetTeamQueryData): BudgetsGetTeamQueryData | undefined; export declare function invalidateBudgetsGetTeam(client: QueryClient, queryKeyBase: TupleToPrefixes<[ id: string, parameters: { orgId?: string | undefined; } ]>, filters?: Omit): Promise; export declare function invalidateAllBudgetsGetTeam(client: QueryClient, filters?: Omit): Promise; //# sourceMappingURL=budgetsGetTeam.d.ts.map