import { z } from "zod"; export declare const agentPermissionsSchema: z.ZodObject<{ canCreateAgents: z.ZodDefault>; trustPreset: z.ZodOptional>; authorizationPolicy: z.ZodOptional>; reviewPreset: z.ZodOptional; version: z.ZodLiteral<1>; rawOutputDisposition: z.ZodLiteral<"quarantine">; }, "strict", z.ZodTypeAny, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }>>; trustBoundary: z.ZodOptional; companyId: z.ZodOptional; projectIds: z.ZodOptional>; rootIssueId: z.ZodOptional; issueIds: z.ZodOptional>; allowedAgentIds: z.ZodOptional>; allowedSecretBindingIds: z.ZodOptional>; allowedToolClasses: z.ZodOptional>; outputPromotionTarget: z.ZodOptional; issueId: z.ZodString; }, "strict", z.ZodTypeAny, { issueId: string; type: "issue"; }, { issueId: string; type: "issue"; }>>; }, "strict", z.ZodTypeAny, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }>>; }, "strip", z.ZodUnknown, z.objectOutputType<{ trustPreset: z.ZodOptional>; reviewPreset: z.ZodOptional; version: z.ZodLiteral<1>; rawOutputDisposition: z.ZodLiteral<"quarantine">; }, "strict", z.ZodTypeAny, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }>>; trustBoundary: z.ZodOptional; companyId: z.ZodOptional; projectIds: z.ZodOptional>; rootIssueId: z.ZodOptional; issueIds: z.ZodOptional>; allowedAgentIds: z.ZodOptional>; allowedSecretBindingIds: z.ZodOptional>; allowedToolClasses: z.ZodOptional>; outputPromotionTarget: z.ZodOptional; issueId: z.ZodString; }, "strict", z.ZodTypeAny, { issueId: string; type: "issue"; }, { issueId: string; type: "issue"; }>>; }, "strict", z.ZodTypeAny, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }>>; }, z.ZodUnknown, "strip">, z.objectInputType<{ trustPreset: z.ZodOptional>; reviewPreset: z.ZodOptional; version: z.ZodLiteral<1>; rawOutputDisposition: z.ZodLiteral<"quarantine">; }, "strict", z.ZodTypeAny, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }>>; trustBoundary: z.ZodOptional; companyId: z.ZodOptional; projectIds: z.ZodOptional>; rootIssueId: z.ZodOptional; issueIds: z.ZodOptional>; allowedAgentIds: z.ZodOptional>; allowedSecretBindingIds: z.ZodOptional>; allowedToolClasses: z.ZodOptional>; outputPromotionTarget: z.ZodOptional; issueId: z.ZodString; }, "strict", z.ZodTypeAny, { issueId: string; type: "issue"; }, { issueId: string; type: "issue"; }>>; }, "strict", z.ZodTypeAny, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }>>; }, z.ZodUnknown, "strip">>>; }, "strip", z.ZodUnknown, z.objectOutputType<{ canCreateAgents: z.ZodDefault>; trustPreset: z.ZodOptional>; authorizationPolicy: z.ZodOptional>; reviewPreset: z.ZodOptional; version: z.ZodLiteral<1>; rawOutputDisposition: z.ZodLiteral<"quarantine">; }, "strict", z.ZodTypeAny, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }>>; trustBoundary: z.ZodOptional; companyId: z.ZodOptional; projectIds: z.ZodOptional>; rootIssueId: z.ZodOptional; issueIds: z.ZodOptional>; allowedAgentIds: z.ZodOptional>; allowedSecretBindingIds: z.ZodOptional>; allowedToolClasses: z.ZodOptional>; outputPromotionTarget: z.ZodOptional; issueId: z.ZodString; }, "strict", z.ZodTypeAny, { issueId: string; type: "issue"; }, { issueId: string; type: "issue"; }>>; }, "strict", z.ZodTypeAny, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }>>; }, "strip", z.ZodUnknown, z.objectOutputType<{ trustPreset: z.ZodOptional>; reviewPreset: z.ZodOptional; version: z.ZodLiteral<1>; rawOutputDisposition: z.ZodLiteral<"quarantine">; }, "strict", z.ZodTypeAny, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }>>; trustBoundary: z.ZodOptional; companyId: z.ZodOptional; projectIds: z.ZodOptional>; rootIssueId: z.ZodOptional; issueIds: z.ZodOptional>; allowedAgentIds: z.ZodOptional>; allowedSecretBindingIds: z.ZodOptional>; allowedToolClasses: z.ZodOptional>; outputPromotionTarget: z.ZodOptional; issueId: z.ZodString; }, "strict", z.ZodTypeAny, { issueId: string; type: "issue"; }, { issueId: string; type: "issue"; }>>; }, "strict", z.ZodTypeAny, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }>>; }, z.ZodUnknown, "strip">, z.objectInputType<{ trustPreset: z.ZodOptional>; reviewPreset: z.ZodOptional; version: z.ZodLiteral<1>; rawOutputDisposition: z.ZodLiteral<"quarantine">; }, "strict", z.ZodTypeAny, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }>>; trustBoundary: z.ZodOptional; companyId: z.ZodOptional; projectIds: z.ZodOptional>; rootIssueId: z.ZodOptional; issueIds: z.ZodOptional>; allowedAgentIds: z.ZodOptional>; allowedSecretBindingIds: z.ZodOptional>; allowedToolClasses: z.ZodOptional>; outputPromotionTarget: z.ZodOptional; issueId: z.ZodString; }, "strict", z.ZodTypeAny, { issueId: string; type: "issue"; }, { issueId: string; type: "issue"; }>>; }, "strict", z.ZodTypeAny, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }>>; }, z.ZodUnknown, "strip">>>; }, z.ZodUnknown, "strip">, z.objectInputType<{ canCreateAgents: z.ZodDefault>; trustPreset: z.ZodOptional>; authorizationPolicy: z.ZodOptional>; reviewPreset: z.ZodOptional; version: z.ZodLiteral<1>; rawOutputDisposition: z.ZodLiteral<"quarantine">; }, "strict", z.ZodTypeAny, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }>>; trustBoundary: z.ZodOptional; companyId: z.ZodOptional; projectIds: z.ZodOptional>; rootIssueId: z.ZodOptional; issueIds: z.ZodOptional>; allowedAgentIds: z.ZodOptional>; allowedSecretBindingIds: z.ZodOptional>; allowedToolClasses: z.ZodOptional>; outputPromotionTarget: z.ZodOptional; issueId: z.ZodString; }, "strict", z.ZodTypeAny, { issueId: string; type: "issue"; }, { issueId: string; type: "issue"; }>>; }, "strict", z.ZodTypeAny, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }>>; }, "strip", z.ZodUnknown, z.objectOutputType<{ trustPreset: z.ZodOptional>; reviewPreset: z.ZodOptional; version: z.ZodLiteral<1>; rawOutputDisposition: z.ZodLiteral<"quarantine">; }, "strict", z.ZodTypeAny, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }>>; trustBoundary: z.ZodOptional; companyId: z.ZodOptional; projectIds: z.ZodOptional>; rootIssueId: z.ZodOptional; issueIds: z.ZodOptional>; allowedAgentIds: z.ZodOptional>; allowedSecretBindingIds: z.ZodOptional>; allowedToolClasses: z.ZodOptional>; outputPromotionTarget: z.ZodOptional; issueId: z.ZodString; }, "strict", z.ZodTypeAny, { issueId: string; type: "issue"; }, { issueId: string; type: "issue"; }>>; }, "strict", z.ZodTypeAny, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }>>; }, z.ZodUnknown, "strip">, z.objectInputType<{ trustPreset: z.ZodOptional>; reviewPreset: z.ZodOptional; version: z.ZodLiteral<1>; rawOutputDisposition: z.ZodLiteral<"quarantine">; }, "strict", z.ZodTypeAny, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }>>; trustBoundary: z.ZodOptional; companyId: z.ZodOptional; projectIds: z.ZodOptional>; rootIssueId: z.ZodOptional; issueIds: z.ZodOptional>; allowedAgentIds: z.ZodOptional>; allowedSecretBindingIds: z.ZodOptional>; allowedToolClasses: z.ZodOptional>; outputPromotionTarget: z.ZodOptional; issueId: z.ZodString; }, "strict", z.ZodTypeAny, { issueId: string; type: "issue"; }, { issueId: string; type: "issue"; }>>; }, "strict", z.ZodTypeAny, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }>>; }, z.ZodUnknown, "strip">>>; }, z.ZodUnknown, "strip">>; export declare const agentInstructionsBundleModeSchema: z.ZodEnum<["managed", "external"]>; export declare const updateAgentInstructionsBundleSchema: z.ZodObject<{ mode: z.ZodOptional>; rootPath: z.ZodOptional>; entryFile: z.ZodOptional; clearLegacyPromptTemplate: z.ZodDefault>; }, "strip", z.ZodTypeAny, { clearLegacyPromptTemplate: boolean; mode?: "external" | "managed" | undefined; rootPath?: string | null | undefined; entryFile?: string | undefined; }, { mode?: "external" | "managed" | undefined; rootPath?: string | null | undefined; entryFile?: string | undefined; clearLegacyPromptTemplate?: boolean | undefined; }>; export type UpdateAgentInstructionsBundle = z.infer; export declare const upsertAgentInstructionsFileSchema: z.ZodObject<{ path: z.ZodString; content: z.ZodString; clearLegacyPromptTemplate: z.ZodDefault>; }, "strip", z.ZodTypeAny, { path: string; content: string; clearLegacyPromptTemplate: boolean; }, { path: string; content: string; clearLegacyPromptTemplate?: boolean | undefined; }>; export type UpsertAgentInstructionsFile = z.infer; export declare const createAgentInstructionsBundleSchema: z.ZodObject<{ entryFile: z.ZodOptional; files: z.ZodEffects, Record, Record>; }, "strip", z.ZodTypeAny, { files: Record; entryFile?: string | undefined; }, { files: Record; entryFile?: string | undefined; }>; export declare const agentRuntimeConfigSchema: z.ZodObject<{ modelProfiles: z.ZodOptional; label: z.ZodOptional; adapterConfig: z.ZodEffects, Record, Record>; }, "strict", z.ZodTypeAny, { adapterConfig: Record; label?: string | undefined; enabled?: boolean | undefined; }, { adapterConfig: Record; label?: string | undefined; enabled?: boolean | undefined; }>>; }, "strict", z.ZodTypeAny, { cheap?: { adapterConfig: Record; label?: string | undefined; enabled?: boolean | undefined; } | undefined; }, { cheap?: { adapterConfig: Record; label?: string | undefined; enabled?: boolean | undefined; } | undefined; }>>; }, "strip", z.ZodUnknown, z.objectOutputType<{ modelProfiles: z.ZodOptional; label: z.ZodOptional; adapterConfig: z.ZodEffects, Record, Record>; }, "strict", z.ZodTypeAny, { adapterConfig: Record; label?: string | undefined; enabled?: boolean | undefined; }, { adapterConfig: Record; label?: string | undefined; enabled?: boolean | undefined; }>>; }, "strict", z.ZodTypeAny, { cheap?: { adapterConfig: Record; label?: string | undefined; enabled?: boolean | undefined; } | undefined; }, { cheap?: { adapterConfig: Record; label?: string | undefined; enabled?: boolean | undefined; } | undefined; }>>; }, z.ZodUnknown, "strip">, z.objectInputType<{ modelProfiles: z.ZodOptional; label: z.ZodOptional; adapterConfig: z.ZodEffects, Record, Record>; }, "strict", z.ZodTypeAny, { adapterConfig: Record; label?: string | undefined; enabled?: boolean | undefined; }, { adapterConfig: Record; label?: string | undefined; enabled?: boolean | undefined; }>>; }, "strict", z.ZodTypeAny, { cheap?: { adapterConfig: Record; label?: string | undefined; enabled?: boolean | undefined; } | undefined; }, { cheap?: { adapterConfig: Record; label?: string | undefined; enabled?: boolean | undefined; } | undefined; }>>; }, z.ZodUnknown, "strip">>; export declare const createAgentSchema: z.ZodObject<{ name: z.ZodString; role: z.ZodDefault>>; title: z.ZodNullable>; icon: z.ZodNullable>>; reportsTo: z.ZodNullable>; capabilities: z.ZodNullable>; desiredSkills: z.ZodOptional; }, "strip", z.ZodTypeAny, { key: string; versionId: string | null; }, { key: string; versionId: string | null; }>]>, "many">>; adapterType: z.ZodDefault; adapterConfig: z.ZodDefault, Record, Record>>>; instructionsBundle: z.ZodOptional; files: z.ZodEffects, Record, Record>; }, "strip", z.ZodTypeAny, { files: Record; entryFile?: string | undefined; }, { files: Record; entryFile?: string | undefined; }>>; runtimeConfig: z.ZodDefault; label: z.ZodOptional; adapterConfig: z.ZodEffects, Record, Record>; }, "strict", z.ZodTypeAny, { adapterConfig: Record; label?: string | undefined; enabled?: boolean | undefined; }, { adapterConfig: Record; label?: string | undefined; enabled?: boolean | undefined; }>>; }, "strict", z.ZodTypeAny, { cheap?: { adapterConfig: Record; label?: string | undefined; enabled?: boolean | undefined; } | undefined; }, { cheap?: { adapterConfig: Record; label?: string | undefined; enabled?: boolean | undefined; } | undefined; }>>; }, "strip", z.ZodUnknown, z.objectOutputType<{ modelProfiles: z.ZodOptional; label: z.ZodOptional; adapterConfig: z.ZodEffects, Record, Record>; }, "strict", z.ZodTypeAny, { adapterConfig: Record; label?: string | undefined; enabled?: boolean | undefined; }, { adapterConfig: Record; label?: string | undefined; enabled?: boolean | undefined; }>>; }, "strict", z.ZodTypeAny, { cheap?: { adapterConfig: Record; label?: string | undefined; enabled?: boolean | undefined; } | undefined; }, { cheap?: { adapterConfig: Record; label?: string | undefined; enabled?: boolean | undefined; } | undefined; }>>; }, z.ZodUnknown, "strip">, z.objectInputType<{ modelProfiles: z.ZodOptional; label: z.ZodOptional; adapterConfig: z.ZodEffects, Record, Record>; }, "strict", z.ZodTypeAny, { adapterConfig: Record; label?: string | undefined; enabled?: boolean | undefined; }, { adapterConfig: Record; label?: string | undefined; enabled?: boolean | undefined; }>>; }, "strict", z.ZodTypeAny, { cheap?: { adapterConfig: Record; label?: string | undefined; enabled?: boolean | undefined; } | undefined; }, { cheap?: { adapterConfig: Record; label?: string | undefined; enabled?: boolean | undefined; } | undefined; }>>; }, z.ZodUnknown, "strip">>>>; defaultEnvironmentId: z.ZodNullable>; budgetMonthlyCents: z.ZodDefault>; permissions: z.ZodOptional>; trustPreset: z.ZodOptional>; authorizationPolicy: z.ZodOptional>; reviewPreset: z.ZodOptional; version: z.ZodLiteral<1>; rawOutputDisposition: z.ZodLiteral<"quarantine">; }, "strict", z.ZodTypeAny, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }>>; trustBoundary: z.ZodOptional; companyId: z.ZodOptional; projectIds: z.ZodOptional>; rootIssueId: z.ZodOptional; issueIds: z.ZodOptional>; allowedAgentIds: z.ZodOptional>; allowedSecretBindingIds: z.ZodOptional>; allowedToolClasses: z.ZodOptional>; outputPromotionTarget: z.ZodOptional; issueId: z.ZodString; }, "strict", z.ZodTypeAny, { issueId: string; type: "issue"; }, { issueId: string; type: "issue"; }>>; }, "strict", z.ZodTypeAny, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }>>; }, "strip", z.ZodUnknown, z.objectOutputType<{ trustPreset: z.ZodOptional>; reviewPreset: z.ZodOptional; version: z.ZodLiteral<1>; rawOutputDisposition: z.ZodLiteral<"quarantine">; }, "strict", z.ZodTypeAny, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }>>; trustBoundary: z.ZodOptional; companyId: z.ZodOptional; projectIds: z.ZodOptional>; rootIssueId: z.ZodOptional; issueIds: z.ZodOptional>; allowedAgentIds: z.ZodOptional>; allowedSecretBindingIds: z.ZodOptional>; allowedToolClasses: z.ZodOptional>; outputPromotionTarget: z.ZodOptional; issueId: z.ZodString; }, "strict", z.ZodTypeAny, { issueId: string; type: "issue"; }, { issueId: string; type: "issue"; }>>; }, "strict", z.ZodTypeAny, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }>>; }, z.ZodUnknown, "strip">, z.objectInputType<{ trustPreset: z.ZodOptional>; reviewPreset: z.ZodOptional; version: z.ZodLiteral<1>; rawOutputDisposition: z.ZodLiteral<"quarantine">; }, "strict", z.ZodTypeAny, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }>>; trustBoundary: z.ZodOptional; companyId: z.ZodOptional; projectIds: z.ZodOptional>; rootIssueId: z.ZodOptional; issueIds: z.ZodOptional>; allowedAgentIds: z.ZodOptional>; allowedSecretBindingIds: z.ZodOptional>; allowedToolClasses: z.ZodOptional>; outputPromotionTarget: z.ZodOptional; issueId: z.ZodString; }, "strict", z.ZodTypeAny, { issueId: string; type: "issue"; }, { issueId: string; type: "issue"; }>>; }, "strict", z.ZodTypeAny, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }>>; }, z.ZodUnknown, "strip">>>; }, "strip", z.ZodUnknown, z.objectOutputType<{ canCreateAgents: z.ZodDefault>; trustPreset: z.ZodOptional>; authorizationPolicy: z.ZodOptional>; reviewPreset: z.ZodOptional; version: z.ZodLiteral<1>; rawOutputDisposition: z.ZodLiteral<"quarantine">; }, "strict", z.ZodTypeAny, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }>>; trustBoundary: z.ZodOptional; companyId: z.ZodOptional; projectIds: z.ZodOptional>; rootIssueId: z.ZodOptional; issueIds: z.ZodOptional>; allowedAgentIds: z.ZodOptional>; allowedSecretBindingIds: z.ZodOptional>; allowedToolClasses: z.ZodOptional>; outputPromotionTarget: z.ZodOptional; issueId: z.ZodString; }, "strict", z.ZodTypeAny, { issueId: string; type: "issue"; }, { issueId: string; type: "issue"; }>>; }, "strict", z.ZodTypeAny, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }>>; }, "strip", z.ZodUnknown, z.objectOutputType<{ trustPreset: z.ZodOptional>; reviewPreset: z.ZodOptional; version: z.ZodLiteral<1>; rawOutputDisposition: z.ZodLiteral<"quarantine">; }, "strict", z.ZodTypeAny, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }>>; trustBoundary: z.ZodOptional; companyId: z.ZodOptional; projectIds: z.ZodOptional>; rootIssueId: z.ZodOptional; issueIds: z.ZodOptional>; allowedAgentIds: z.ZodOptional>; allowedSecretBindingIds: z.ZodOptional>; allowedToolClasses: z.ZodOptional>; outputPromotionTarget: z.ZodOptional; issueId: z.ZodString; }, "strict", z.ZodTypeAny, { issueId: string; type: "issue"; }, { issueId: string; type: "issue"; }>>; }, "strict", z.ZodTypeAny, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }>>; }, z.ZodUnknown, "strip">, z.objectInputType<{ trustPreset: z.ZodOptional>; reviewPreset: z.ZodOptional; version: z.ZodLiteral<1>; rawOutputDisposition: z.ZodLiteral<"quarantine">; }, "strict", z.ZodTypeAny, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }>>; trustBoundary: z.ZodOptional; companyId: z.ZodOptional; projectIds: z.ZodOptional>; rootIssueId: z.ZodOptional; issueIds: z.ZodOptional>; allowedAgentIds: z.ZodOptional>; allowedSecretBindingIds: z.ZodOptional>; allowedToolClasses: z.ZodOptional>; outputPromotionTarget: z.ZodOptional; issueId: z.ZodString; }, "strict", z.ZodTypeAny, { issueId: string; type: "issue"; }, { issueId: string; type: "issue"; }>>; }, "strict", z.ZodTypeAny, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }>>; }, z.ZodUnknown, "strip">>>; }, z.ZodUnknown, "strip">, z.objectInputType<{ canCreateAgents: z.ZodDefault>; trustPreset: z.ZodOptional>; authorizationPolicy: z.ZodOptional>; reviewPreset: z.ZodOptional; version: z.ZodLiteral<1>; rawOutputDisposition: z.ZodLiteral<"quarantine">; }, "strict", z.ZodTypeAny, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }>>; trustBoundary: z.ZodOptional; companyId: z.ZodOptional; projectIds: z.ZodOptional>; rootIssueId: z.ZodOptional; issueIds: z.ZodOptional>; allowedAgentIds: z.ZodOptional>; allowedSecretBindingIds: z.ZodOptional>; allowedToolClasses: z.ZodOptional>; outputPromotionTarget: z.ZodOptional; issueId: z.ZodString; }, "strict", z.ZodTypeAny, { issueId: string; type: "issue"; }, { issueId: string; type: "issue"; }>>; }, "strict", z.ZodTypeAny, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }>>; }, "strip", z.ZodUnknown, z.objectOutputType<{ trustPreset: z.ZodOptional>; reviewPreset: z.ZodOptional; version: z.ZodLiteral<1>; rawOutputDisposition: z.ZodLiteral<"quarantine">; }, "strict", z.ZodTypeAny, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }>>; trustBoundary: z.ZodOptional; companyId: z.ZodOptional; projectIds: z.ZodOptional>; rootIssueId: z.ZodOptional; issueIds: z.ZodOptional>; allowedAgentIds: z.ZodOptional>; allowedSecretBindingIds: z.ZodOptional>; allowedToolClasses: z.ZodOptional>; outputPromotionTarget: z.ZodOptional; issueId: z.ZodString; }, "strict", z.ZodTypeAny, { issueId: string; type: "issue"; }, { issueId: string; type: "issue"; }>>; }, "strict", z.ZodTypeAny, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }>>; }, z.ZodUnknown, "strip">, z.objectInputType<{ trustPreset: z.ZodOptional>; reviewPreset: z.ZodOptional; version: z.ZodLiteral<1>; rawOutputDisposition: z.ZodLiteral<"quarantine">; }, "strict", z.ZodTypeAny, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }>>; trustBoundary: z.ZodOptional; companyId: z.ZodOptional; projectIds: z.ZodOptional>; rootIssueId: z.ZodOptional; issueIds: z.ZodOptional>; allowedAgentIds: z.ZodOptional>; allowedSecretBindingIds: z.ZodOptional>; allowedToolClasses: z.ZodOptional>; outputPromotionTarget: z.ZodOptional; issueId: z.ZodString; }, "strict", z.ZodTypeAny, { issueId: string; type: "issue"; }, { issueId: string; type: "issue"; }>>; }, "strict", z.ZodTypeAny, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }>>; }, z.ZodUnknown, "strip">>>; }, z.ZodUnknown, "strip">>>; metadata: z.ZodNullable>>; }, "strip", z.ZodTypeAny, { name: string; budgetMonthlyCents: number; adapterType: string; adapterConfig: Record; role: "ceo" | "cto" | "cmo" | "cfo" | "security" | "engineer" | "designer" | "pm" | "qa" | "devops" | "researcher" | "general"; runtimeConfig: { modelProfiles?: { cheap?: { adapterConfig: Record; label?: string | undefined; enabled?: boolean | undefined; } | undefined; } | undefined; } & { [k: string]: unknown; }; title?: string | null | undefined; metadata?: Record | null | undefined; icon?: "bot" | "cpu" | "brain" | "zap" | "rocket" | "code" | "terminal" | "shield" | "eye" | "search" | "wrench" | "hammer" | "lightbulb" | "sparkles" | "star" | "heart" | "flame" | "bug" | "cog" | "database" | "globe" | "lock" | "mail" | "message-square" | "file-code" | "git-branch" | "package" | "puzzle" | "target" | "wand" | "atom" | "circuit-board" | "radar" | "swords" | "telescope" | "microscope" | "crown" | "gem" | "hexagon" | "pentagon" | "fingerprint" | null | undefined; capabilities?: string | null | undefined; permissions?: z.objectOutputType<{ canCreateAgents: z.ZodDefault>; trustPreset: z.ZodOptional>; authorizationPolicy: z.ZodOptional>; reviewPreset: z.ZodOptional; version: z.ZodLiteral<1>; rawOutputDisposition: z.ZodLiteral<"quarantine">; }, "strict", z.ZodTypeAny, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }>>; trustBoundary: z.ZodOptional; companyId: z.ZodOptional; projectIds: z.ZodOptional>; rootIssueId: z.ZodOptional; issueIds: z.ZodOptional>; allowedAgentIds: z.ZodOptional>; allowedSecretBindingIds: z.ZodOptional>; allowedToolClasses: z.ZodOptional>; outputPromotionTarget: z.ZodOptional; issueId: z.ZodString; }, "strict", z.ZodTypeAny, { issueId: string; type: "issue"; }, { issueId: string; type: "issue"; }>>; }, "strict", z.ZodTypeAny, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }>>; }, "strip", z.ZodUnknown, z.objectOutputType<{ trustPreset: z.ZodOptional>; reviewPreset: z.ZodOptional; version: z.ZodLiteral<1>; rawOutputDisposition: z.ZodLiteral<"quarantine">; }, "strict", z.ZodTypeAny, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }>>; trustBoundary: z.ZodOptional; companyId: z.ZodOptional; projectIds: z.ZodOptional>; rootIssueId: z.ZodOptional; issueIds: z.ZodOptional>; allowedAgentIds: z.ZodOptional>; allowedSecretBindingIds: z.ZodOptional>; allowedToolClasses: z.ZodOptional>; outputPromotionTarget: z.ZodOptional; issueId: z.ZodString; }, "strict", z.ZodTypeAny, { issueId: string; type: "issue"; }, { issueId: string; type: "issue"; }>>; }, "strict", z.ZodTypeAny, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }>>; }, z.ZodUnknown, "strip">, z.objectInputType<{ trustPreset: z.ZodOptional>; reviewPreset: z.ZodOptional; version: z.ZodLiteral<1>; rawOutputDisposition: z.ZodLiteral<"quarantine">; }, "strict", z.ZodTypeAny, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }>>; trustBoundary: z.ZodOptional; companyId: z.ZodOptional; projectIds: z.ZodOptional>; rootIssueId: z.ZodOptional; issueIds: z.ZodOptional>; allowedAgentIds: z.ZodOptional>; allowedSecretBindingIds: z.ZodOptional>; allowedToolClasses: z.ZodOptional>; outputPromotionTarget: z.ZodOptional; issueId: z.ZodString; }, "strict", z.ZodTypeAny, { issueId: string; type: "issue"; }, { issueId: string; type: "issue"; }>>; }, "strict", z.ZodTypeAny, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }>>; }, z.ZodUnknown, "strip">>>; }, z.ZodUnknown, "strip"> | undefined; desiredSkills?: (string | { key: string; versionId: string | null; })[] | undefined; reportsTo?: string | null | undefined; instructionsBundle?: { files: Record; entryFile?: string | undefined; } | undefined; defaultEnvironmentId?: string | null | undefined; }, { name: string; title?: string | null | undefined; metadata?: Record | null | undefined; budgetMonthlyCents?: number | undefined; adapterType?: string | undefined; adapterConfig?: Record | undefined; role?: "ceo" | "cto" | "cmo" | "cfo" | "security" | "engineer" | "designer" | "pm" | "qa" | "devops" | "researcher" | "general" | undefined; icon?: "bot" | "cpu" | "brain" | "zap" | "rocket" | "code" | "terminal" | "shield" | "eye" | "search" | "wrench" | "hammer" | "lightbulb" | "sparkles" | "star" | "heart" | "flame" | "bug" | "cog" | "database" | "globe" | "lock" | "mail" | "message-square" | "file-code" | "git-branch" | "package" | "puzzle" | "target" | "wand" | "atom" | "circuit-board" | "radar" | "swords" | "telescope" | "microscope" | "crown" | "gem" | "hexagon" | "pentagon" | "fingerprint" | null | undefined; capabilities?: string | null | undefined; runtimeConfig?: z.objectInputType<{ modelProfiles: z.ZodOptional; label: z.ZodOptional; adapterConfig: z.ZodEffects, Record, Record>; }, "strict", z.ZodTypeAny, { adapterConfig: Record; label?: string | undefined; enabled?: boolean | undefined; }, { adapterConfig: Record; label?: string | undefined; enabled?: boolean | undefined; }>>; }, "strict", z.ZodTypeAny, { cheap?: { adapterConfig: Record; label?: string | undefined; enabled?: boolean | undefined; } | undefined; }, { cheap?: { adapterConfig: Record; label?: string | undefined; enabled?: boolean | undefined; } | undefined; }>>; }, z.ZodUnknown, "strip"> | undefined; permissions?: z.objectInputType<{ canCreateAgents: z.ZodDefault>; trustPreset: z.ZodOptional>; authorizationPolicy: z.ZodOptional>; reviewPreset: z.ZodOptional; version: z.ZodLiteral<1>; rawOutputDisposition: z.ZodLiteral<"quarantine">; }, "strict", z.ZodTypeAny, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }>>; trustBoundary: z.ZodOptional; companyId: z.ZodOptional; projectIds: z.ZodOptional>; rootIssueId: z.ZodOptional; issueIds: z.ZodOptional>; allowedAgentIds: z.ZodOptional>; allowedSecretBindingIds: z.ZodOptional>; allowedToolClasses: z.ZodOptional>; outputPromotionTarget: z.ZodOptional; issueId: z.ZodString; }, "strict", z.ZodTypeAny, { issueId: string; type: "issue"; }, { issueId: string; type: "issue"; }>>; }, "strict", z.ZodTypeAny, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }>>; }, "strip", z.ZodUnknown, z.objectOutputType<{ trustPreset: z.ZodOptional>; reviewPreset: z.ZodOptional; version: z.ZodLiteral<1>; rawOutputDisposition: z.ZodLiteral<"quarantine">; }, "strict", z.ZodTypeAny, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }>>; trustBoundary: z.ZodOptional; companyId: z.ZodOptional; projectIds: z.ZodOptional>; rootIssueId: z.ZodOptional; issueIds: z.ZodOptional>; allowedAgentIds: z.ZodOptional>; allowedSecretBindingIds: z.ZodOptional>; allowedToolClasses: z.ZodOptional>; outputPromotionTarget: z.ZodOptional; issueId: z.ZodString; }, "strict", z.ZodTypeAny, { issueId: string; type: "issue"; }, { issueId: string; type: "issue"; }>>; }, "strict", z.ZodTypeAny, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }>>; }, z.ZodUnknown, "strip">, z.objectInputType<{ trustPreset: z.ZodOptional>; reviewPreset: z.ZodOptional; version: z.ZodLiteral<1>; rawOutputDisposition: z.ZodLiteral<"quarantine">; }, "strict", z.ZodTypeAny, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }>>; trustBoundary: z.ZodOptional; companyId: z.ZodOptional; projectIds: z.ZodOptional>; rootIssueId: z.ZodOptional; issueIds: z.ZodOptional>; allowedAgentIds: z.ZodOptional>; allowedSecretBindingIds: z.ZodOptional>; allowedToolClasses: z.ZodOptional>; outputPromotionTarget: z.ZodOptional; issueId: z.ZodString; }, "strict", z.ZodTypeAny, { issueId: string; type: "issue"; }, { issueId: string; type: "issue"; }>>; }, "strict", z.ZodTypeAny, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }>>; }, z.ZodUnknown, "strip">>>; }, z.ZodUnknown, "strip"> | undefined; desiredSkills?: (string | { key: string; versionId: string | null; })[] | undefined; reportsTo?: string | null | undefined; instructionsBundle?: { files: Record; entryFile?: string | undefined; } | undefined; defaultEnvironmentId?: string | null | undefined; }>; export type CreateAgent = z.infer; export declare const createAgentHireSchema: z.ZodObject<{ name: z.ZodString; role: z.ZodDefault>>; title: z.ZodNullable>; icon: z.ZodNullable>>; reportsTo: z.ZodNullable>; capabilities: z.ZodNullable>; desiredSkills: z.ZodOptional; }, "strip", z.ZodTypeAny, { key: string; versionId: string | null; }, { key: string; versionId: string | null; }>]>, "many">>; adapterType: z.ZodDefault; adapterConfig: z.ZodDefault, Record, Record>>>; instructionsBundle: z.ZodOptional; files: z.ZodEffects, Record, Record>; }, "strip", z.ZodTypeAny, { files: Record; entryFile?: string | undefined; }, { files: Record; entryFile?: string | undefined; }>>; runtimeConfig: z.ZodDefault; label: z.ZodOptional; adapterConfig: z.ZodEffects, Record, Record>; }, "strict", z.ZodTypeAny, { adapterConfig: Record; label?: string | undefined; enabled?: boolean | undefined; }, { adapterConfig: Record; label?: string | undefined; enabled?: boolean | undefined; }>>; }, "strict", z.ZodTypeAny, { cheap?: { adapterConfig: Record; label?: string | undefined; enabled?: boolean | undefined; } | undefined; }, { cheap?: { adapterConfig: Record; label?: string | undefined; enabled?: boolean | undefined; } | undefined; }>>; }, "strip", z.ZodUnknown, z.objectOutputType<{ modelProfiles: z.ZodOptional; label: z.ZodOptional; adapterConfig: z.ZodEffects, Record, Record>; }, "strict", z.ZodTypeAny, { adapterConfig: Record; label?: string | undefined; enabled?: boolean | undefined; }, { adapterConfig: Record; label?: string | undefined; enabled?: boolean | undefined; }>>; }, "strict", z.ZodTypeAny, { cheap?: { adapterConfig: Record; label?: string | undefined; enabled?: boolean | undefined; } | undefined; }, { cheap?: { adapterConfig: Record; label?: string | undefined; enabled?: boolean | undefined; } | undefined; }>>; }, z.ZodUnknown, "strip">, z.objectInputType<{ modelProfiles: z.ZodOptional; label: z.ZodOptional; adapterConfig: z.ZodEffects, Record, Record>; }, "strict", z.ZodTypeAny, { adapterConfig: Record; label?: string | undefined; enabled?: boolean | undefined; }, { adapterConfig: Record; label?: string | undefined; enabled?: boolean | undefined; }>>; }, "strict", z.ZodTypeAny, { cheap?: { adapterConfig: Record; label?: string | undefined; enabled?: boolean | undefined; } | undefined; }, { cheap?: { adapterConfig: Record; label?: string | undefined; enabled?: boolean | undefined; } | undefined; }>>; }, z.ZodUnknown, "strip">>>>; defaultEnvironmentId: z.ZodNullable>; budgetMonthlyCents: z.ZodDefault>; permissions: z.ZodOptional>; trustPreset: z.ZodOptional>; authorizationPolicy: z.ZodOptional>; reviewPreset: z.ZodOptional; version: z.ZodLiteral<1>; rawOutputDisposition: z.ZodLiteral<"quarantine">; }, "strict", z.ZodTypeAny, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }>>; trustBoundary: z.ZodOptional; companyId: z.ZodOptional; projectIds: z.ZodOptional>; rootIssueId: z.ZodOptional; issueIds: z.ZodOptional>; allowedAgentIds: z.ZodOptional>; allowedSecretBindingIds: z.ZodOptional>; allowedToolClasses: z.ZodOptional>; outputPromotionTarget: z.ZodOptional; issueId: z.ZodString; }, "strict", z.ZodTypeAny, { issueId: string; type: "issue"; }, { issueId: string; type: "issue"; }>>; }, "strict", z.ZodTypeAny, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }>>; }, "strip", z.ZodUnknown, z.objectOutputType<{ trustPreset: z.ZodOptional>; reviewPreset: z.ZodOptional; version: z.ZodLiteral<1>; rawOutputDisposition: z.ZodLiteral<"quarantine">; }, "strict", z.ZodTypeAny, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }>>; trustBoundary: z.ZodOptional; companyId: z.ZodOptional; projectIds: z.ZodOptional>; rootIssueId: z.ZodOptional; issueIds: z.ZodOptional>; allowedAgentIds: z.ZodOptional>; allowedSecretBindingIds: z.ZodOptional>; allowedToolClasses: z.ZodOptional>; outputPromotionTarget: z.ZodOptional; issueId: z.ZodString; }, "strict", z.ZodTypeAny, { issueId: string; type: "issue"; }, { issueId: string; type: "issue"; }>>; }, "strict", z.ZodTypeAny, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }>>; }, z.ZodUnknown, "strip">, z.objectInputType<{ trustPreset: z.ZodOptional>; reviewPreset: z.ZodOptional; version: z.ZodLiteral<1>; rawOutputDisposition: z.ZodLiteral<"quarantine">; }, "strict", z.ZodTypeAny, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }>>; trustBoundary: z.ZodOptional; companyId: z.ZodOptional; projectIds: z.ZodOptional>; rootIssueId: z.ZodOptional; issueIds: z.ZodOptional>; allowedAgentIds: z.ZodOptional>; allowedSecretBindingIds: z.ZodOptional>; allowedToolClasses: z.ZodOptional>; outputPromotionTarget: z.ZodOptional; issueId: z.ZodString; }, "strict", z.ZodTypeAny, { issueId: string; type: "issue"; }, { issueId: string; type: "issue"; }>>; }, "strict", z.ZodTypeAny, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }>>; }, z.ZodUnknown, "strip">>>; }, "strip", z.ZodUnknown, z.objectOutputType<{ canCreateAgents: z.ZodDefault>; trustPreset: z.ZodOptional>; authorizationPolicy: z.ZodOptional>; reviewPreset: z.ZodOptional; version: z.ZodLiteral<1>; rawOutputDisposition: z.ZodLiteral<"quarantine">; }, "strict", z.ZodTypeAny, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }>>; trustBoundary: z.ZodOptional; companyId: z.ZodOptional; projectIds: z.ZodOptional>; rootIssueId: z.ZodOptional; issueIds: z.ZodOptional>; allowedAgentIds: z.ZodOptional>; allowedSecretBindingIds: z.ZodOptional>; allowedToolClasses: z.ZodOptional>; outputPromotionTarget: z.ZodOptional; issueId: z.ZodString; }, "strict", z.ZodTypeAny, { issueId: string; type: "issue"; }, { issueId: string; type: "issue"; }>>; }, "strict", z.ZodTypeAny, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }>>; }, "strip", z.ZodUnknown, z.objectOutputType<{ trustPreset: z.ZodOptional>; reviewPreset: z.ZodOptional; version: z.ZodLiteral<1>; rawOutputDisposition: z.ZodLiteral<"quarantine">; }, "strict", z.ZodTypeAny, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }>>; trustBoundary: z.ZodOptional; companyId: z.ZodOptional; projectIds: z.ZodOptional>; rootIssueId: z.ZodOptional; issueIds: z.ZodOptional>; allowedAgentIds: z.ZodOptional>; allowedSecretBindingIds: z.ZodOptional>; allowedToolClasses: z.ZodOptional>; outputPromotionTarget: z.ZodOptional; issueId: z.ZodString; }, "strict", z.ZodTypeAny, { issueId: string; type: "issue"; }, { issueId: string; type: "issue"; }>>; }, "strict", z.ZodTypeAny, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }>>; }, z.ZodUnknown, "strip">, z.objectInputType<{ trustPreset: z.ZodOptional>; reviewPreset: z.ZodOptional; version: z.ZodLiteral<1>; rawOutputDisposition: z.ZodLiteral<"quarantine">; }, "strict", z.ZodTypeAny, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }>>; trustBoundary: z.ZodOptional; companyId: z.ZodOptional; projectIds: z.ZodOptional>; rootIssueId: z.ZodOptional; issueIds: z.ZodOptional>; allowedAgentIds: z.ZodOptional>; allowedSecretBindingIds: z.ZodOptional>; allowedToolClasses: z.ZodOptional>; outputPromotionTarget: z.ZodOptional; issueId: z.ZodString; }, "strict", z.ZodTypeAny, { issueId: string; type: "issue"; }, { issueId: string; type: "issue"; }>>; }, "strict", z.ZodTypeAny, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }>>; }, z.ZodUnknown, "strip">>>; }, z.ZodUnknown, "strip">, z.objectInputType<{ canCreateAgents: z.ZodDefault>; trustPreset: z.ZodOptional>; authorizationPolicy: z.ZodOptional>; reviewPreset: z.ZodOptional; version: z.ZodLiteral<1>; rawOutputDisposition: z.ZodLiteral<"quarantine">; }, "strict", z.ZodTypeAny, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }>>; trustBoundary: z.ZodOptional; companyId: z.ZodOptional; projectIds: z.ZodOptional>; rootIssueId: z.ZodOptional; issueIds: z.ZodOptional>; allowedAgentIds: z.ZodOptional>; allowedSecretBindingIds: z.ZodOptional>; allowedToolClasses: z.ZodOptional>; outputPromotionTarget: z.ZodOptional; issueId: z.ZodString; }, "strict", z.ZodTypeAny, { issueId: string; type: "issue"; }, { issueId: string; type: "issue"; }>>; }, "strict", z.ZodTypeAny, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }>>; }, "strip", z.ZodUnknown, z.objectOutputType<{ trustPreset: z.ZodOptional>; reviewPreset: z.ZodOptional; version: z.ZodLiteral<1>; rawOutputDisposition: z.ZodLiteral<"quarantine">; }, "strict", z.ZodTypeAny, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }>>; trustBoundary: z.ZodOptional; companyId: z.ZodOptional; projectIds: z.ZodOptional>; rootIssueId: z.ZodOptional; issueIds: z.ZodOptional>; allowedAgentIds: z.ZodOptional>; allowedSecretBindingIds: z.ZodOptional>; allowedToolClasses: z.ZodOptional>; outputPromotionTarget: z.ZodOptional; issueId: z.ZodString; }, "strict", z.ZodTypeAny, { issueId: string; type: "issue"; }, { issueId: string; type: "issue"; }>>; }, "strict", z.ZodTypeAny, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }>>; }, z.ZodUnknown, "strip">, z.objectInputType<{ trustPreset: z.ZodOptional>; reviewPreset: z.ZodOptional; version: z.ZodLiteral<1>; rawOutputDisposition: z.ZodLiteral<"quarantine">; }, "strict", z.ZodTypeAny, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }>>; trustBoundary: z.ZodOptional; companyId: z.ZodOptional; projectIds: z.ZodOptional>; rootIssueId: z.ZodOptional; issueIds: z.ZodOptional>; allowedAgentIds: z.ZodOptional>; allowedSecretBindingIds: z.ZodOptional>; allowedToolClasses: z.ZodOptional>; outputPromotionTarget: z.ZodOptional; issueId: z.ZodString; }, "strict", z.ZodTypeAny, { issueId: string; type: "issue"; }, { issueId: string; type: "issue"; }>>; }, "strict", z.ZodTypeAny, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }>>; }, z.ZodUnknown, "strip">>>; }, z.ZodUnknown, "strip">>>; metadata: z.ZodNullable>>; } & { sourceIssueId: z.ZodNullable>; sourceIssueIds: z.ZodOptional>; }, "strip", z.ZodTypeAny, { name: string; budgetMonthlyCents: number; adapterType: string; adapterConfig: Record; role: "ceo" | "cto" | "cmo" | "cfo" | "security" | "engineer" | "designer" | "pm" | "qa" | "devops" | "researcher" | "general"; runtimeConfig: { modelProfiles?: { cheap?: { adapterConfig: Record; label?: string | undefined; enabled?: boolean | undefined; } | undefined; } | undefined; } & { [k: string]: unknown; }; title?: string | null | undefined; metadata?: Record | null | undefined; sourceIssueId?: string | null | undefined; icon?: "bot" | "cpu" | "brain" | "zap" | "rocket" | "code" | "terminal" | "shield" | "eye" | "search" | "wrench" | "hammer" | "lightbulb" | "sparkles" | "star" | "heart" | "flame" | "bug" | "cog" | "database" | "globe" | "lock" | "mail" | "message-square" | "file-code" | "git-branch" | "package" | "puzzle" | "target" | "wand" | "atom" | "circuit-board" | "radar" | "swords" | "telescope" | "microscope" | "crown" | "gem" | "hexagon" | "pentagon" | "fingerprint" | null | undefined; capabilities?: string | null | undefined; permissions?: z.objectOutputType<{ canCreateAgents: z.ZodDefault>; trustPreset: z.ZodOptional>; authorizationPolicy: z.ZodOptional>; reviewPreset: z.ZodOptional; version: z.ZodLiteral<1>; rawOutputDisposition: z.ZodLiteral<"quarantine">; }, "strict", z.ZodTypeAny, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }>>; trustBoundary: z.ZodOptional; companyId: z.ZodOptional; projectIds: z.ZodOptional>; rootIssueId: z.ZodOptional; issueIds: z.ZodOptional>; allowedAgentIds: z.ZodOptional>; allowedSecretBindingIds: z.ZodOptional>; allowedToolClasses: z.ZodOptional>; outputPromotionTarget: z.ZodOptional; issueId: z.ZodString; }, "strict", z.ZodTypeAny, { issueId: string; type: "issue"; }, { issueId: string; type: "issue"; }>>; }, "strict", z.ZodTypeAny, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }>>; }, "strip", z.ZodUnknown, z.objectOutputType<{ trustPreset: z.ZodOptional>; reviewPreset: z.ZodOptional; version: z.ZodLiteral<1>; rawOutputDisposition: z.ZodLiteral<"quarantine">; }, "strict", z.ZodTypeAny, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }>>; trustBoundary: z.ZodOptional; companyId: z.ZodOptional; projectIds: z.ZodOptional>; rootIssueId: z.ZodOptional; issueIds: z.ZodOptional>; allowedAgentIds: z.ZodOptional>; allowedSecretBindingIds: z.ZodOptional>; allowedToolClasses: z.ZodOptional>; outputPromotionTarget: z.ZodOptional; issueId: z.ZodString; }, "strict", z.ZodTypeAny, { issueId: string; type: "issue"; }, { issueId: string; type: "issue"; }>>; }, "strict", z.ZodTypeAny, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }>>; }, z.ZodUnknown, "strip">, z.objectInputType<{ trustPreset: z.ZodOptional>; reviewPreset: z.ZodOptional; version: z.ZodLiteral<1>; rawOutputDisposition: z.ZodLiteral<"quarantine">; }, "strict", z.ZodTypeAny, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }>>; trustBoundary: z.ZodOptional; companyId: z.ZodOptional; projectIds: z.ZodOptional>; rootIssueId: z.ZodOptional; issueIds: z.ZodOptional>; allowedAgentIds: z.ZodOptional>; allowedSecretBindingIds: z.ZodOptional>; allowedToolClasses: z.ZodOptional>; outputPromotionTarget: z.ZodOptional; issueId: z.ZodString; }, "strict", z.ZodTypeAny, { issueId: string; type: "issue"; }, { issueId: string; type: "issue"; }>>; }, "strict", z.ZodTypeAny, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }>>; }, z.ZodUnknown, "strip">>>; }, z.ZodUnknown, "strip"> | undefined; desiredSkills?: (string | { key: string; versionId: string | null; })[] | undefined; reportsTo?: string | null | undefined; instructionsBundle?: { files: Record; entryFile?: string | undefined; } | undefined; defaultEnvironmentId?: string | null | undefined; sourceIssueIds?: string[] | undefined; }, { name: string; title?: string | null | undefined; metadata?: Record | null | undefined; sourceIssueId?: string | null | undefined; budgetMonthlyCents?: number | undefined; adapterType?: string | undefined; adapterConfig?: Record | undefined; role?: "ceo" | "cto" | "cmo" | "cfo" | "security" | "engineer" | "designer" | "pm" | "qa" | "devops" | "researcher" | "general" | undefined; icon?: "bot" | "cpu" | "brain" | "zap" | "rocket" | "code" | "terminal" | "shield" | "eye" | "search" | "wrench" | "hammer" | "lightbulb" | "sparkles" | "star" | "heart" | "flame" | "bug" | "cog" | "database" | "globe" | "lock" | "mail" | "message-square" | "file-code" | "git-branch" | "package" | "puzzle" | "target" | "wand" | "atom" | "circuit-board" | "radar" | "swords" | "telescope" | "microscope" | "crown" | "gem" | "hexagon" | "pentagon" | "fingerprint" | null | undefined; capabilities?: string | null | undefined; runtimeConfig?: z.objectInputType<{ modelProfiles: z.ZodOptional; label: z.ZodOptional; adapterConfig: z.ZodEffects, Record, Record>; }, "strict", z.ZodTypeAny, { adapterConfig: Record; label?: string | undefined; enabled?: boolean | undefined; }, { adapterConfig: Record; label?: string | undefined; enabled?: boolean | undefined; }>>; }, "strict", z.ZodTypeAny, { cheap?: { adapterConfig: Record; label?: string | undefined; enabled?: boolean | undefined; } | undefined; }, { cheap?: { adapterConfig: Record; label?: string | undefined; enabled?: boolean | undefined; } | undefined; }>>; }, z.ZodUnknown, "strip"> | undefined; permissions?: z.objectInputType<{ canCreateAgents: z.ZodDefault>; trustPreset: z.ZodOptional>; authorizationPolicy: z.ZodOptional>; reviewPreset: z.ZodOptional; version: z.ZodLiteral<1>; rawOutputDisposition: z.ZodLiteral<"quarantine">; }, "strict", z.ZodTypeAny, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }>>; trustBoundary: z.ZodOptional; companyId: z.ZodOptional; projectIds: z.ZodOptional>; rootIssueId: z.ZodOptional; issueIds: z.ZodOptional>; allowedAgentIds: z.ZodOptional>; allowedSecretBindingIds: z.ZodOptional>; allowedToolClasses: z.ZodOptional>; outputPromotionTarget: z.ZodOptional; issueId: z.ZodString; }, "strict", z.ZodTypeAny, { issueId: string; type: "issue"; }, { issueId: string; type: "issue"; }>>; }, "strict", z.ZodTypeAny, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }>>; }, "strip", z.ZodUnknown, z.objectOutputType<{ trustPreset: z.ZodOptional>; reviewPreset: z.ZodOptional; version: z.ZodLiteral<1>; rawOutputDisposition: z.ZodLiteral<"quarantine">; }, "strict", z.ZodTypeAny, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }>>; trustBoundary: z.ZodOptional; companyId: z.ZodOptional; projectIds: z.ZodOptional>; rootIssueId: z.ZodOptional; issueIds: z.ZodOptional>; allowedAgentIds: z.ZodOptional>; allowedSecretBindingIds: z.ZodOptional>; allowedToolClasses: z.ZodOptional>; outputPromotionTarget: z.ZodOptional; issueId: z.ZodString; }, "strict", z.ZodTypeAny, { issueId: string; type: "issue"; }, { issueId: string; type: "issue"; }>>; }, "strict", z.ZodTypeAny, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }>>; }, z.ZodUnknown, "strip">, z.objectInputType<{ trustPreset: z.ZodOptional>; reviewPreset: z.ZodOptional; version: z.ZodLiteral<1>; rawOutputDisposition: z.ZodLiteral<"quarantine">; }, "strict", z.ZodTypeAny, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }>>; trustBoundary: z.ZodOptional; companyId: z.ZodOptional; projectIds: z.ZodOptional>; rootIssueId: z.ZodOptional; issueIds: z.ZodOptional>; allowedAgentIds: z.ZodOptional>; allowedSecretBindingIds: z.ZodOptional>; allowedToolClasses: z.ZodOptional>; outputPromotionTarget: z.ZodOptional; issueId: z.ZodString; }, "strict", z.ZodTypeAny, { issueId: string; type: "issue"; }, { issueId: string; type: "issue"; }>>; }, "strict", z.ZodTypeAny, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }>>; }, z.ZodUnknown, "strip">>>; }, z.ZodUnknown, "strip"> | undefined; desiredSkills?: (string | { key: string; versionId: string | null; })[] | undefined; reportsTo?: string | null | undefined; instructionsBundle?: { files: Record; entryFile?: string | undefined; } | undefined; defaultEnvironmentId?: string | null | undefined; sourceIssueIds?: string[] | undefined; }>; export type CreateAgentHire = z.infer; export declare const updateAgentSchema: z.ZodObject<{ title: z.ZodOptional>>; name: z.ZodOptional; metadata: z.ZodOptional>>>; budgetMonthlyCents: z.ZodOptional>>; adapterType: z.ZodOptional>; adapterConfig: z.ZodOptional, Record, Record>>>>; role: z.ZodOptional>>>; icon: z.ZodOptional>>>; capabilities: z.ZodOptional>>; runtimeConfig: z.ZodOptional; label: z.ZodOptional; adapterConfig: z.ZodEffects, Record, Record>; }, "strict", z.ZodTypeAny, { adapterConfig: Record; label?: string | undefined; enabled?: boolean | undefined; }, { adapterConfig: Record; label?: string | undefined; enabled?: boolean | undefined; }>>; }, "strict", z.ZodTypeAny, { cheap?: { adapterConfig: Record; label?: string | undefined; enabled?: boolean | undefined; } | undefined; }, { cheap?: { adapterConfig: Record; label?: string | undefined; enabled?: boolean | undefined; } | undefined; }>>; }, "strip", z.ZodUnknown, z.objectOutputType<{ modelProfiles: z.ZodOptional; label: z.ZodOptional; adapterConfig: z.ZodEffects, Record, Record>; }, "strict", z.ZodTypeAny, { adapterConfig: Record; label?: string | undefined; enabled?: boolean | undefined; }, { adapterConfig: Record; label?: string | undefined; enabled?: boolean | undefined; }>>; }, "strict", z.ZodTypeAny, { cheap?: { adapterConfig: Record; label?: string | undefined; enabled?: boolean | undefined; } | undefined; }, { cheap?: { adapterConfig: Record; label?: string | undefined; enabled?: boolean | undefined; } | undefined; }>>; }, z.ZodUnknown, "strip">, z.objectInputType<{ modelProfiles: z.ZodOptional; label: z.ZodOptional; adapterConfig: z.ZodEffects, Record, Record>; }, "strict", z.ZodTypeAny, { adapterConfig: Record; label?: string | undefined; enabled?: boolean | undefined; }, { adapterConfig: Record; label?: string | undefined; enabled?: boolean | undefined; }>>; }, "strict", z.ZodTypeAny, { cheap?: { adapterConfig: Record; label?: string | undefined; enabled?: boolean | undefined; } | undefined; }, { cheap?: { adapterConfig: Record; label?: string | undefined; enabled?: boolean | undefined; } | undefined; }>>; }, z.ZodUnknown, "strip">>>>>; desiredSkills: z.ZodOptional; }, "strip", z.ZodTypeAny, { key: string; versionId: string | null; }, { key: string; versionId: string | null; }>]>, "many">>>; reportsTo: z.ZodOptional>>; instructionsBundle: z.ZodOptional; files: z.ZodEffects, Record, Record>; }, "strip", z.ZodTypeAny, { files: Record; entryFile?: string | undefined; }, { files: Record; entryFile?: string | undefined; }>>>; defaultEnvironmentId: z.ZodOptional>>; } & { permissions: z.ZodOptional; replaceAdapterConfig: z.ZodOptional; status: z.ZodOptional>; spentMonthlyCents: z.ZodOptional; }, "strip", z.ZodTypeAny, { title?: string | null | undefined; status?: "active" | "paused" | "idle" | "running" | "error" | "pending_approval" | "terminated" | undefined; name?: string | undefined; metadata?: Record | null | undefined; budgetMonthlyCents?: number | undefined; spentMonthlyCents?: number | undefined; adapterType?: string | undefined; adapterConfig?: Record | undefined; role?: "ceo" | "cto" | "cmo" | "cfo" | "security" | "engineer" | "designer" | "pm" | "qa" | "devops" | "researcher" | "general" | undefined; icon?: "bot" | "cpu" | "brain" | "zap" | "rocket" | "code" | "terminal" | "shield" | "eye" | "search" | "wrench" | "hammer" | "lightbulb" | "sparkles" | "star" | "heart" | "flame" | "bug" | "cog" | "database" | "globe" | "lock" | "mail" | "message-square" | "file-code" | "git-branch" | "package" | "puzzle" | "target" | "wand" | "atom" | "circuit-board" | "radar" | "swords" | "telescope" | "microscope" | "crown" | "gem" | "hexagon" | "pentagon" | "fingerprint" | null | undefined; capabilities?: string | null | undefined; runtimeConfig?: z.objectOutputType<{ modelProfiles: z.ZodOptional; label: z.ZodOptional; adapterConfig: z.ZodEffects, Record, Record>; }, "strict", z.ZodTypeAny, { adapterConfig: Record; label?: string | undefined; enabled?: boolean | undefined; }, { adapterConfig: Record; label?: string | undefined; enabled?: boolean | undefined; }>>; }, "strict", z.ZodTypeAny, { cheap?: { adapterConfig: Record; label?: string | undefined; enabled?: boolean | undefined; } | undefined; }, { cheap?: { adapterConfig: Record; label?: string | undefined; enabled?: boolean | undefined; } | undefined; }>>; }, z.ZodUnknown, "strip"> | undefined; permissions?: undefined; desiredSkills?: (string | { key: string; versionId: string | null; })[] | undefined; reportsTo?: string | null | undefined; instructionsBundle?: { files: Record; entryFile?: string | undefined; } | undefined; defaultEnvironmentId?: string | null | undefined; replaceAdapterConfig?: boolean | undefined; }, { title?: string | null | undefined; status?: "active" | "paused" | "idle" | "running" | "error" | "pending_approval" | "terminated" | undefined; name?: string | undefined; metadata?: Record | null | undefined; budgetMonthlyCents?: number | undefined; spentMonthlyCents?: number | undefined; adapterType?: string | undefined; adapterConfig?: Record | undefined; role?: "ceo" | "cto" | "cmo" | "cfo" | "security" | "engineer" | "designer" | "pm" | "qa" | "devops" | "researcher" | "general" | undefined; icon?: "bot" | "cpu" | "brain" | "zap" | "rocket" | "code" | "terminal" | "shield" | "eye" | "search" | "wrench" | "hammer" | "lightbulb" | "sparkles" | "star" | "heart" | "flame" | "bug" | "cog" | "database" | "globe" | "lock" | "mail" | "message-square" | "file-code" | "git-branch" | "package" | "puzzle" | "target" | "wand" | "atom" | "circuit-board" | "radar" | "swords" | "telescope" | "microscope" | "crown" | "gem" | "hexagon" | "pentagon" | "fingerprint" | null | undefined; capabilities?: string | null | undefined; runtimeConfig?: z.objectInputType<{ modelProfiles: z.ZodOptional; label: z.ZodOptional; adapterConfig: z.ZodEffects, Record, Record>; }, "strict", z.ZodTypeAny, { adapterConfig: Record; label?: string | undefined; enabled?: boolean | undefined; }, { adapterConfig: Record; label?: string | undefined; enabled?: boolean | undefined; }>>; }, "strict", z.ZodTypeAny, { cheap?: { adapterConfig: Record; label?: string | undefined; enabled?: boolean | undefined; } | undefined; }, { cheap?: { adapterConfig: Record; label?: string | undefined; enabled?: boolean | undefined; } | undefined; }>>; }, z.ZodUnknown, "strip"> | undefined; permissions?: undefined; desiredSkills?: (string | { key: string; versionId: string | null; })[] | undefined; reportsTo?: string | null | undefined; instructionsBundle?: { files: Record; entryFile?: string | undefined; } | undefined; defaultEnvironmentId?: string | null | undefined; replaceAdapterConfig?: boolean | undefined; }>; export type UpdateAgent = z.infer; export declare const updateAgentInstructionsPathSchema: z.ZodObject<{ path: z.ZodNullable; adapterConfigKey: z.ZodOptional; }, "strip", z.ZodTypeAny, { path: string | null; adapterConfigKey?: string | undefined; }, { path: string | null; adapterConfigKey?: string | undefined; }>; export type UpdateAgentInstructionsPath = z.infer; export declare const createAgentKeySchema: z.ZodObject<{ name: z.ZodDefault; }, "strip", z.ZodTypeAny, { name: string; }, { name?: string | undefined; }>; export type CreateAgentKey = z.infer; export declare const agentMineInboxQuerySchema: z.ZodObject<{ userId: z.ZodString; status: z.ZodDefault>; }, "strip", z.ZodTypeAny, { status: string; userId: string; }, { userId: string; status?: string | undefined; }>; export type AgentMineInboxQuery = z.infer; export declare const wakeAgentSchema: z.ZodObject<{ source: z.ZodDefault>>; triggerDetail: z.ZodOptional>; reason: z.ZodNullable>; payload: z.ZodNullable>>; idempotencyKey: z.ZodNullable>; forceFreshSession: z.ZodEffects>, boolean, unknown>; }, "strip", z.ZodTypeAny, { source: "timer" | "assignment" | "on_demand" | "automation"; forceFreshSession: boolean; idempotencyKey?: string | null | undefined; reason?: string | null | undefined; payload?: Record | null | undefined; triggerDetail?: "system" | "manual" | "ping" | "callback" | undefined; }, { source?: "timer" | "assignment" | "on_demand" | "automation" | undefined; idempotencyKey?: string | null | undefined; reason?: string | null | undefined; payload?: Record | null | undefined; triggerDetail?: "system" | "manual" | "ping" | "callback" | undefined; forceFreshSession?: unknown; }>; export type WakeAgent = z.infer; export declare const resetAgentSessionSchema: z.ZodObject<{ taskKey: z.ZodNullable>; }, "strip", z.ZodTypeAny, { taskKey?: string | null | undefined; }, { taskKey?: string | null | undefined; }>; export type ResetAgentSession = z.infer; export declare const testAdapterEnvironmentSchema: z.ZodObject<{ adapterConfig: z.ZodDefault, Record, Record>>>; /** * Optional environment to run the adapter test inside. When omitted, the * test runs against the local Paperclip host. When provided and the * environment is non-local (SSH/sandbox), the test probes are executed * inside that environment so the result reflects real agent execution. */ environmentId: z.ZodNullable>; }, "strip", z.ZodTypeAny, { adapterConfig: Record; environmentId?: string | null | undefined; }, { environmentId?: string | null | undefined; adapterConfig?: Record | undefined; }>; export type TestAdapterEnvironment = z.infer; export declare const updateAgentPermissionsSchema: z.ZodObject<{ canCreateAgents: z.ZodBoolean; canAssignTasks: z.ZodBoolean; trustPreset: z.ZodOptional>; authorizationPolicy: z.ZodOptional>; reviewPreset: z.ZodOptional; version: z.ZodLiteral<1>; rawOutputDisposition: z.ZodLiteral<"quarantine">; }, "strict", z.ZodTypeAny, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }>>; trustBoundary: z.ZodOptional; companyId: z.ZodOptional; projectIds: z.ZodOptional>; rootIssueId: z.ZodOptional; issueIds: z.ZodOptional>; allowedAgentIds: z.ZodOptional>; allowedSecretBindingIds: z.ZodOptional>; allowedToolClasses: z.ZodOptional>; outputPromotionTarget: z.ZodOptional; issueId: z.ZodString; }, "strict", z.ZodTypeAny, { issueId: string; type: "issue"; }, { issueId: string; type: "issue"; }>>; }, "strict", z.ZodTypeAny, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }>>; }, "strip", z.ZodUnknown, z.objectOutputType<{ trustPreset: z.ZodOptional>; reviewPreset: z.ZodOptional; version: z.ZodLiteral<1>; rawOutputDisposition: z.ZodLiteral<"quarantine">; }, "strict", z.ZodTypeAny, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }>>; trustBoundary: z.ZodOptional; companyId: z.ZodOptional; projectIds: z.ZodOptional>; rootIssueId: z.ZodOptional; issueIds: z.ZodOptional>; allowedAgentIds: z.ZodOptional>; allowedSecretBindingIds: z.ZodOptional>; allowedToolClasses: z.ZodOptional>; outputPromotionTarget: z.ZodOptional; issueId: z.ZodString; }, "strict", z.ZodTypeAny, { issueId: string; type: "issue"; }, { issueId: string; type: "issue"; }>>; }, "strict", z.ZodTypeAny, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }>>; }, z.ZodUnknown, "strip">, z.objectInputType<{ trustPreset: z.ZodOptional>; reviewPreset: z.ZodOptional; version: z.ZodLiteral<1>; rawOutputDisposition: z.ZodLiteral<"quarantine">; }, "strict", z.ZodTypeAny, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }>>; trustBoundary: z.ZodOptional; companyId: z.ZodOptional; projectIds: z.ZodOptional>; rootIssueId: z.ZodOptional; issueIds: z.ZodOptional>; allowedAgentIds: z.ZodOptional>; allowedSecretBindingIds: z.ZodOptional>; allowedToolClasses: z.ZodOptional>; outputPromotionTarget: z.ZodOptional; issueId: z.ZodString; }, "strict", z.ZodTypeAny, { issueId: string; type: "issue"; }, { issueId: string; type: "issue"; }>>; }, "strict", z.ZodTypeAny, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }>>; }, z.ZodUnknown, "strip">>>; }, "strip", z.ZodTypeAny, { canCreateAgents: boolean; canAssignTasks: boolean; trustPreset?: "standard" | "low_trust_review" | undefined; authorizationPolicy?: z.objectOutputType<{ trustPreset: z.ZodOptional>; reviewPreset: z.ZodOptional; version: z.ZodLiteral<1>; rawOutputDisposition: z.ZodLiteral<"quarantine">; }, "strict", z.ZodTypeAny, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }>>; trustBoundary: z.ZodOptional; companyId: z.ZodOptional; projectIds: z.ZodOptional>; rootIssueId: z.ZodOptional; issueIds: z.ZodOptional>; allowedAgentIds: z.ZodOptional>; allowedSecretBindingIds: z.ZodOptional>; allowedToolClasses: z.ZodOptional>; outputPromotionTarget: z.ZodOptional; issueId: z.ZodString; }, "strict", z.ZodTypeAny, { issueId: string; type: "issue"; }, { issueId: string; type: "issue"; }>>; }, "strict", z.ZodTypeAny, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }>>; }, z.ZodUnknown, "strip"> | undefined; }, { canCreateAgents: boolean; canAssignTasks: boolean; trustPreset?: "standard" | "low_trust_review" | undefined; authorizationPolicy?: z.objectInputType<{ trustPreset: z.ZodOptional>; reviewPreset: z.ZodOptional; version: z.ZodLiteral<1>; rawOutputDisposition: z.ZodLiteral<"quarantine">; }, "strict", z.ZodTypeAny, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }>>; trustBoundary: z.ZodOptional; companyId: z.ZodOptional; projectIds: z.ZodOptional>; rootIssueId: z.ZodOptional; issueIds: z.ZodOptional>; allowedAgentIds: z.ZodOptional>; allowedSecretBindingIds: z.ZodOptional>; allowedToolClasses: z.ZodOptional>; outputPromotionTarget: z.ZodOptional; issueId: z.ZodString; }, "strict", z.ZodTypeAny, { issueId: string; type: "issue"; }, { issueId: string; type: "issue"; }>>; }, "strict", z.ZodTypeAny, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }>>; }, z.ZodUnknown, "strip"> | undefined; }>; export type UpdateAgentPermissions = z.infer; //# sourceMappingURL=agent.d.ts.map