import * as z from "zod/v3";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
import { BudgetRejection } from "./budgetrejection.js";
import { DimensionInfo } from "./dimensioninfo.js";
export type CheckBudgetsResponse = {
    /**
     * True when no applicable budget exceeds its limit.
     */
    allowed?: boolean | undefined;
    /**
     * Populated when allowed is false; identifies which budget and
     *
     * @remarks
     *  dimension triggered the rejection.
     */
    rejection?: BudgetRejection | undefined;
    /**
     * Cost dimension info for rate-limit headers (nil when no cost budget applies).
     */
    cost?: DimensionInfo | undefined;
    /**
     * Token dimension info for rate-limit headers (nil when no token budget applies).
     */
    tokens?: DimensionInfo | undefined;
    /**
     * Requests dimension info for rate-limit headers (nil when no RPM budget applies).
     */
    requests?: DimensionInfo | undefined;
};
/** @internal */
export declare const CheckBudgetsResponse$inboundSchema: z.ZodType<CheckBudgetsResponse, z.ZodTypeDef, unknown>;
export declare function checkBudgetsResponseFromJSON(jsonString: string): SafeParseResult<CheckBudgetsResponse, SDKValidationError>;
//# sourceMappingURL=checkbudgetsresponse.d.ts.map