import * as z from "zod/v4"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./errors/sdkvalidationerror.js"; import { GuardrailInterval } from "./guardrailinterval.js"; export type GuardrailBudgetPolicyConfig = { /** * Whether BYOK (bring-your-own-key) inference spend counts toward this guardrail's limit_usd, in addition to OpenRouter credit spend. Defaults to false. */ includeByokInBudgets?: boolean | undefined; /** * Spending limit in USD. Must be provided together with `reset_interval`: a request that sets only one of the two is rejected with a 400. */ limitUsd?: number | null | undefined; /** * Interval at which the limit resets (daily, weekly, monthly) */ resetInterval?: GuardrailInterval | null | undefined; }; /** @internal */ export declare const GuardrailBudgetPolicyConfig$inboundSchema: z.ZodType; export declare function guardrailBudgetPolicyConfigFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=guardrailbudgetpolicyconfig.d.ts.map