import * as z from "zod/v4"; import { ClosedEnum } from "../types/enums.js"; import { GuardrailBudgetPolicyAuthoringConfig, GuardrailBudgetPolicyAuthoringConfig$Outbound } from "./guardrailbudgetpolicyauthoringconfig.js"; export declare const CreateBudgetGuardrailPolicyRequestPolicyType: { readonly Budget: "budget"; }; export type CreateBudgetGuardrailPolicyRequestPolicyType = ClosedEnum; export type CreateBudgetGuardrailPolicyRequest = { /** * API key hashes */ apiKeyHashes?: Array | undefined; config: GuardrailBudgetPolicyAuthoringConfig; /** * Make this the workspace default for its policy type. Defaults to `false`. */ isWorkspaceDefault?: boolean | undefined; /** * Organization member user IDs */ memberIds?: Array | undefined; /** * Policy name */ name: string; /** * API keys that should not inherit the policy when it is the workspace default */ optedOutApiKeyHashes?: Array | undefined; /** * Members that should not inherit the policy when it is the workspace default */ optedOutMemberIds?: Array | undefined; policyType: CreateBudgetGuardrailPolicyRequestPolicyType; /** * Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other. */ workspaceId?: string | undefined; }; /** @internal */ export declare const CreateBudgetGuardrailPolicyRequestPolicyType$outboundSchema: z.ZodEnum; /** @internal */ export type CreateBudgetGuardrailPolicyRequest$Outbound = { api_key_hashes?: Array | undefined; config: GuardrailBudgetPolicyAuthoringConfig$Outbound; is_workspace_default?: boolean | undefined; member_ids?: Array | undefined; name: string; opted_out_api_key_hashes?: Array | undefined; opted_out_member_ids?: Array | undefined; policy_type: string; workspace_id?: string | undefined; }; /** @internal */ export declare const CreateBudgetGuardrailPolicyRequest$outboundSchema: z.ZodType; export declare function createBudgetGuardrailPolicyRequestToJSON(createBudgetGuardrailPolicyRequest: CreateBudgetGuardrailPolicyRequest): string; //# sourceMappingURL=createbudgetguardrailpolicyrequest.d.ts.map