import { z } from "zod"; export declare const portabilityIncludeSchema: z.ZodObject<{ company: z.ZodOptional>; agents: z.ZodOptional>; projects: z.ZodOptional>; issues: z.ZodOptional>; skills: z.ZodOptional>; }, "strip", z.ZodTypeAny, { company?: boolean | undefined; projects?: boolean | undefined; agents?: boolean | undefined; issues?: boolean | undefined; skills?: boolean | undefined; }, { company?: boolean | undefined; projects?: boolean | undefined; agents?: boolean | undefined; issues?: boolean | undefined; skills?: boolean | undefined; }>; export declare const portabilityEnvInputSchema: z.ZodObject<{ key: z.ZodString; description: z.ZodNullable; agentSlug: z.ZodNullable; projectSlug: z.ZodNullable; kind: z.ZodEnum<["secret", "plain"]>; requirement: z.ZodEnum<["required", "optional"]>; defaultValue: z.ZodNullable; portability: z.ZodEnum<["portable", "system_dependent"]>; }, "strip", z.ZodTypeAny, { description: string | null; key: string; kind: "plain" | "secret"; defaultValue: string | null; agentSlug: string | null; projectSlug: string | null; requirement: "optional" | "required"; portability: "portable" | "system_dependent"; }, { description: string | null; key: string; kind: "plain" | "secret"; defaultValue: string | null; agentSlug: string | null; projectSlug: string | null; requirement: "optional" | "required"; portability: "portable" | "system_dependent"; }>; export declare const portabilityFileEntrySchema: z.ZodUnion<[z.ZodString, z.ZodObject<{ encoding: z.ZodLiteral<"base64">; data: z.ZodString; contentType: z.ZodNullable>; }, "strip", z.ZodTypeAny, { encoding: "base64"; data: string; contentType?: string | null | undefined; }, { encoding: "base64"; data: string; contentType?: string | null | undefined; }>]>; export declare const portabilityCompanyManifestEntrySchema: z.ZodObject<{ path: z.ZodString; name: z.ZodString; description: z.ZodNullable; brandColor: z.ZodNullable; logoPath: z.ZodNullable; attachmentMaxBytes: z.ZodDefault>; requireBoardApprovalForNewAgents: z.ZodBoolean; feedbackDataSharingEnabled: z.ZodDefault; feedbackDataSharingConsentAt: z.ZodDefault>; feedbackDataSharingConsentByUserId: z.ZodDefault>; feedbackDataSharingTermsVersion: z.ZodDefault>; }, "strip", z.ZodTypeAny, { description: string | null; name: string; path: string; attachmentMaxBytes: number | null; requireBoardApprovalForNewAgents: boolean; feedbackDataSharingEnabled: boolean; feedbackDataSharingConsentAt: string | null; feedbackDataSharingConsentByUserId: string | null; feedbackDataSharingTermsVersion: string | null; brandColor: string | null; logoPath: string | null; }, { description: string | null; name: string; path: string; requireBoardApprovalForNewAgents: boolean; brandColor: string | null; logoPath: string | null; attachmentMaxBytes?: number | null | undefined; feedbackDataSharingEnabled?: boolean | undefined; feedbackDataSharingConsentAt?: string | null | undefined; feedbackDataSharingConsentByUserId?: string | null | undefined; feedbackDataSharingTermsVersion?: string | null | undefined; }>; export declare const portabilitySidebarOrderSchema: z.ZodObject<{ agents: z.ZodDefault>; projects: z.ZodDefault>; }, "strip", z.ZodTypeAny, { projects: string[]; agents: string[]; }, { projects?: string[] | undefined; agents?: string[] | undefined; }>; export declare const portabilityAgentManifestEntrySchema: z.ZodObject<{ slug: z.ZodString; name: z.ZodString; path: z.ZodString; skills: z.ZodDefault>; role: z.ZodString; title: z.ZodNullable; icon: z.ZodNullable; capabilities: z.ZodNullable; reportsToSlug: z.ZodNullable; adapterType: z.ZodString; adapterConfig: z.ZodRecord; runtimeConfig: z.ZodRecord; permissions: z.ZodRecord; budgetMonthlyCents: z.ZodNumber; metadata: z.ZodNullable>; }, "strip", z.ZodTypeAny, { title: string | null; name: string; path: string; metadata: Record | null; budgetMonthlyCents: number; slug: string; adapterType: string; adapterConfig: Record; skills: string[]; role: string; icon: string | null; capabilities: string | null; reportsToSlug: string | null; runtimeConfig: Record; permissions: Record; }, { title: string | null; name: string; path: string; metadata: Record | null; budgetMonthlyCents: number; slug: string; adapterType: string; adapterConfig: Record; role: string; icon: string | null; capabilities: string | null; reportsToSlug: string | null; runtimeConfig: Record; permissions: Record; skills?: string[] | undefined; }>; export declare const portabilitySkillManifestEntrySchema: z.ZodObject<{ key: z.ZodString; slug: z.ZodString; name: z.ZodString; path: z.ZodString; description: z.ZodNullable; sourceType: z.ZodString; sourceLocator: z.ZodNullable; sourceRef: z.ZodNullable; trustLevel: z.ZodNullable; compatibility: z.ZodNullable; metadata: z.ZodNullable>; fileInventory: z.ZodDefault, "many">>; }, "strip", z.ZodTypeAny, { description: string | null; name: string; key: string; path: string; metadata: Record | null; slug: string; sourceType: string; sourceLocator: string | null; sourceRef: string | null; trustLevel: string | null; compatibility: string | null; fileInventory: { kind: string; path: string; }[]; }, { description: string | null; name: string; key: string; path: string; metadata: Record | null; slug: string; sourceType: string; sourceLocator: string | null; sourceRef: string | null; trustLevel: string | null; compatibility: string | null; fileInventory?: { kind: string; path: string; }[] | undefined; }>; export declare const portabilityProjectManifestEntrySchema: z.ZodObject<{ slug: z.ZodString; name: z.ZodString; path: z.ZodString; description: z.ZodNullable; ownerAgentSlug: z.ZodNullable; leadAgentSlug: z.ZodNullable; targetDate: z.ZodNullable; color: z.ZodNullable; status: z.ZodNullable; executionWorkspacePolicy: z.ZodNullable>; workspaces: z.ZodDefault; repoUrl: z.ZodNullable; repoRef: z.ZodNullable; defaultRef: z.ZodNullable; visibility: z.ZodNullable; setupCommand: z.ZodNullable; cleanupCommand: z.ZodNullable; metadata: z.ZodNullable>; isPrimary: z.ZodBoolean; }, "strip", z.ZodTypeAny, { name: string; key: string; cleanupCommand: string | null; repoUrl: string | null; metadata: Record | null; sourceType: string | null; repoRef: string | null; defaultRef: string | null; visibility: string | null; setupCommand: string | null; isPrimary: boolean; }, { name: string; key: string; cleanupCommand: string | null; repoUrl: string | null; metadata: Record | null; sourceType: string | null; repoRef: string | null; defaultRef: string | null; visibility: string | null; setupCommand: string | null; isPrimary: boolean; }>, "many">>; metadata: z.ZodNullable>; }, "strip", z.ZodTypeAny, { description: string | null; status: string | null; name: string; path: string; metadata: Record | null; slug: string; color: string | null; ownerAgentSlug: string | null; leadAgentSlug: string | null; targetDate: string | null; executionWorkspacePolicy: Record | null; workspaces: { name: string; key: string; cleanupCommand: string | null; repoUrl: string | null; metadata: Record | null; sourceType: string | null; repoRef: string | null; defaultRef: string | null; visibility: string | null; setupCommand: string | null; isPrimary: boolean; }[]; }, { description: string | null; status: string | null; name: string; path: string; metadata: Record | null; slug: string; color: string | null; ownerAgentSlug: string | null; leadAgentSlug: string | null; targetDate: string | null; executionWorkspacePolicy: Record | null; workspaces?: { name: string; key: string; cleanupCommand: string | null; repoUrl: string | null; metadata: Record | null; sourceType: string | null; repoRef: string | null; defaultRef: string | null; visibility: string | null; setupCommand: string | null; isPrimary: boolean; }[] | undefined; }>; export declare const portabilityIssueRoutineTriggerManifestEntrySchema: z.ZodObject<{ kind: z.ZodString; label: z.ZodNullable; enabled: z.ZodBoolean; cronExpression: z.ZodNullable; timezone: z.ZodNullable; signingMode: z.ZodNullable; replayWindowSec: z.ZodNullable; }, "strip", z.ZodTypeAny, { kind: string; label: string | null; enabled: boolean; cronExpression: string | null; timezone: string | null; signingMode: string | null; replayWindowSec: number | null; }, { kind: string; label: string | null; enabled: boolean; cronExpression: string | null; timezone: string | null; signingMode: string | null; replayWindowSec: number | null; }>; export declare const portabilityIssueRoutineManifestEntrySchema: z.ZodObject<{ concurrencyPolicy: z.ZodNullable; catchUpPolicy: z.ZodNullable; variables: z.ZodOptional>; type: z.ZodDefault>>; defaultValue: z.ZodNullable>>; required: z.ZodDefault>; options: z.ZodDefault>>; }, "strip", z.ZodTypeAny, { name: string; required: boolean; options: string[]; type: "number" | "boolean" | "text" | "textarea" | "select"; label?: string | null | undefined; defaultValue?: string | number | boolean | null | undefined; }, { name: string; label?: string | null | undefined; required?: boolean | undefined; options?: string[] | undefined; type?: "number" | "boolean" | "text" | "textarea" | "select" | undefined; defaultValue?: string | number | boolean | null | undefined; }>, { name: string; required: boolean; options: string[]; type: "number" | "boolean" | "text" | "textarea" | "select"; label?: string | null | undefined; defaultValue?: string | number | boolean | null | undefined; }, { name: string; label?: string | null | undefined; required?: boolean | undefined; options?: string[] | undefined; type?: "number" | "boolean" | "text" | "textarea" | "select" | undefined; defaultValue?: string | number | boolean | null | undefined; }>, "many">>>; triggers: z.ZodDefault; enabled: z.ZodBoolean; cronExpression: z.ZodNullable; timezone: z.ZodNullable; signingMode: z.ZodNullable; replayWindowSec: z.ZodNullable; }, "strip", z.ZodTypeAny, { kind: string; label: string | null; enabled: boolean; cronExpression: string | null; timezone: string | null; signingMode: string | null; replayWindowSec: number | null; }, { kind: string; label: string | null; enabled: boolean; cronExpression: string | null; timezone: string | null; signingMode: string | null; replayWindowSec: number | null; }>, "many">>; }, "strip", z.ZodTypeAny, { concurrencyPolicy: string | null; catchUpPolicy: string | null; triggers: { kind: string; label: string | null; enabled: boolean; cronExpression: string | null; timezone: string | null; signingMode: string | null; replayWindowSec: number | null; }[]; variables?: { name: string; required: boolean; options: string[]; type: "number" | "boolean" | "text" | "textarea" | "select"; label?: string | null | undefined; defaultValue?: string | number | boolean | null | undefined; }[] | null | undefined; }, { concurrencyPolicy: string | null; catchUpPolicy: string | null; variables?: { name: string; label?: string | null | undefined; required?: boolean | undefined; options?: string[] | undefined; type?: "number" | "boolean" | "text" | "textarea" | "select" | undefined; defaultValue?: string | number | boolean | null | undefined; }[] | null | undefined; triggers?: { kind: string; label: string | null; enabled: boolean; cronExpression: string | null; timezone: string | null; signingMode: string | null; replayWindowSec: number | null; }[] | undefined; }>; export declare const portabilityIssueCommentManifestEntrySchema: z.ZodObject<{ body: z.ZodString; authorType: z.ZodEnum<["user", "agent", "system"]>; authorAgentSlug: z.ZodNullable; authorUserId: z.ZodNullable; presentation: z.ZodNullable>; tone: z.ZodDefault>; title: z.ZodOptional>; detailsDefaultOpen: z.ZodDefault>; }, "strict", z.ZodTypeAny, { kind: "message" | "system_notice"; tone: "neutral" | "info" | "success" | "warning" | "danger"; detailsDefaultOpen: boolean; title?: string | null | undefined; }, { title?: string | null | undefined; kind?: "message" | "system_notice" | undefined; tone?: "neutral" | "info" | "success" | "warning" | "danger" | undefined; detailsDefaultOpen?: boolean | undefined; }>>; metadata: z.ZodNullable; sourceRunId: z.ZodOptional>; sections: z.ZodArray>; rows: z.ZodArray>; } & { type: z.ZodLiteral<"text">; text: z.ZodString; }, "strict", z.ZodTypeAny, { text: string; type: "text"; label?: string | null | undefined; }, { text: string; type: "text"; label?: string | null | undefined; }>, z.ZodObject<{ label: z.ZodOptional>; } & { type: z.ZodLiteral<"code">; code: z.ZodString; language: z.ZodOptional>; }, "strict", z.ZodTypeAny, { code: string; type: "code"; label?: string | null | undefined; language?: string | null | undefined; }, { code: string; type: "code"; label?: string | null | undefined; language?: string | null | undefined; }>, z.ZodObject<{} & { type: z.ZodLiteral<"key_value">; label: z.ZodString; value: z.ZodString; }, "strict", z.ZodTypeAny, { label: string; value: string; type: "key_value"; }, { label: string; value: string; type: "key_value"; }>, z.ZodObject<{ label: z.ZodOptional>; } & { type: z.ZodLiteral<"issue_link">; issueId: z.ZodOptional>; identifier: z.ZodOptional>; title: z.ZodOptional>; }, "strict", z.ZodTypeAny, { type: "issue_link"; title?: string | null | undefined; label?: string | null | undefined; issueId?: string | null | undefined; identifier?: string | null | undefined; }, { type: "issue_link"; title?: string | null | undefined; label?: string | null | undefined; issueId?: string | null | undefined; identifier?: string | null | undefined; }>, z.ZodObject<{ label: z.ZodOptional>; } & { type: z.ZodLiteral<"agent_link">; agentId: z.ZodString; name: z.ZodOptional>; }, "strict", z.ZodTypeAny, { type: "agent_link"; agentId: string; name?: string | null | undefined; label?: string | null | undefined; }, { type: "agent_link"; agentId: string; name?: string | null | undefined; label?: string | null | undefined; }>, z.ZodObject<{ label: z.ZodOptional>; } & { type: z.ZodLiteral<"run_link">; runId: z.ZodString; title: z.ZodOptional>; }, "strict", z.ZodTypeAny, { type: "run_link"; runId: string; title?: string | null | undefined; label?: string | null | undefined; }, { type: "run_link"; runId: string; title?: string | null | undefined; label?: string | null | undefined; }>]>, { text: string; type: "text"; label?: string | null | undefined; } | { code: string; type: "code"; label?: string | null | undefined; language?: string | null | undefined; } | { label: string; value: string; type: "key_value"; } | { type: "issue_link"; title?: string | null | undefined; label?: string | null | undefined; issueId?: string | null | undefined; identifier?: string | null | undefined; } | { type: "agent_link"; agentId: string; name?: string | null | undefined; label?: string | null | undefined; } | { type: "run_link"; runId: string; title?: string | null | undefined; label?: string | null | undefined; }, { text: string; type: "text"; label?: string | null | undefined; } | { code: string; type: "code"; label?: string | null | undefined; language?: string | null | undefined; } | { label: string; value: string; type: "key_value"; } | { type: "issue_link"; title?: string | null | undefined; label?: string | null | undefined; issueId?: string | null | undefined; identifier?: string | null | undefined; } | { type: "agent_link"; agentId: string; name?: string | null | undefined; label?: string | null | undefined; } | { type: "run_link"; runId: string; title?: string | null | undefined; label?: string | null | undefined; }>, "many">; }, "strict", z.ZodTypeAny, { rows: ({ text: string; type: "text"; label?: string | null | undefined; } | { code: string; type: "code"; label?: string | null | undefined; language?: string | null | undefined; } | { label: string; value: string; type: "key_value"; } | { type: "issue_link"; title?: string | null | undefined; label?: string | null | undefined; issueId?: string | null | undefined; identifier?: string | null | undefined; } | { type: "agent_link"; agentId: string; name?: string | null | undefined; label?: string | null | undefined; } | { type: "run_link"; runId: string; title?: string | null | undefined; label?: string | null | undefined; })[]; title?: string | null | undefined; }, { rows: ({ text: string; type: "text"; label?: string | null | undefined; } | { code: string; type: "code"; label?: string | null | undefined; language?: string | null | undefined; } | { label: string; value: string; type: "key_value"; } | { type: "issue_link"; title?: string | null | undefined; label?: string | null | undefined; issueId?: string | null | undefined; identifier?: string | null | undefined; } | { type: "agent_link"; agentId: string; name?: string | null | undefined; label?: string | null | undefined; } | { type: "run_link"; runId: string; title?: string | null | undefined; label?: string | null | undefined; })[]; title?: string | null | undefined; }>, "many">; }, "strict", z.ZodTypeAny, { version: 1; sections: { rows: ({ text: string; type: "text"; label?: string | null | undefined; } | { code: string; type: "code"; label?: string | null | undefined; language?: string | null | undefined; } | { label: string; value: string; type: "key_value"; } | { type: "issue_link"; title?: string | null | undefined; label?: string | null | undefined; issueId?: string | null | undefined; identifier?: string | null | undefined; } | { type: "agent_link"; agentId: string; name?: string | null | undefined; label?: string | null | undefined; } | { type: "run_link"; runId: string; title?: string | null | undefined; label?: string | null | undefined; })[]; title?: string | null | undefined; }[]; sourceRunId?: string | null | undefined; }, { version: 1; sections: { rows: ({ text: string; type: "text"; label?: string | null | undefined; } | { code: string; type: "code"; label?: string | null | undefined; language?: string | null | undefined; } | { label: string; value: string; type: "key_value"; } | { type: "issue_link"; title?: string | null | undefined; label?: string | null | undefined; issueId?: string | null | undefined; identifier?: string | null | undefined; } | { type: "agent_link"; agentId: string; name?: string | null | undefined; label?: string | null | undefined; } | { type: "run_link"; runId: string; title?: string | null | undefined; label?: string | null | undefined; })[]; title?: string | null | undefined; }[]; sourceRunId?: string | null | undefined; }>>; createdAt: z.ZodNullable; }, "strip", z.ZodTypeAny, { createdAt: string | null; body: string; metadata: { version: 1; sections: { rows: ({ text: string; type: "text"; label?: string | null | undefined; } | { code: string; type: "code"; label?: string | null | undefined; language?: string | null | undefined; } | { label: string; value: string; type: "key_value"; } | { type: "issue_link"; title?: string | null | undefined; label?: string | null | undefined; issueId?: string | null | undefined; identifier?: string | null | undefined; } | { type: "agent_link"; agentId: string; name?: string | null | undefined; label?: string | null | undefined; } | { type: "run_link"; runId: string; title?: string | null | undefined; label?: string | null | undefined; })[]; title?: string | null | undefined; }[]; sourceRunId?: string | null | undefined; } | null; authorUserId: string | null; authorType: "user" | "agent" | "system"; presentation: { kind: "message" | "system_notice"; tone: "neutral" | "info" | "success" | "warning" | "danger"; detailsDefaultOpen: boolean; title?: string | null | undefined; } | null; authorAgentSlug: string | null; }, { createdAt: string | null; body: string; metadata: { version: 1; sections: { rows: ({ text: string; type: "text"; label?: string | null | undefined; } | { code: string; type: "code"; label?: string | null | undefined; language?: string | null | undefined; } | { label: string; value: string; type: "key_value"; } | { type: "issue_link"; title?: string | null | undefined; label?: string | null | undefined; issueId?: string | null | undefined; identifier?: string | null | undefined; } | { type: "agent_link"; agentId: string; name?: string | null | undefined; label?: string | null | undefined; } | { type: "run_link"; runId: string; title?: string | null | undefined; label?: string | null | undefined; })[]; title?: string | null | undefined; }[]; sourceRunId?: string | null | undefined; } | null; authorUserId: string | null; authorType: "user" | "agent" | "system"; presentation: { title?: string | null | undefined; kind?: "message" | "system_notice" | undefined; tone?: "neutral" | "info" | "success" | "warning" | "danger" | undefined; detailsDefaultOpen?: boolean | undefined; } | null; authorAgentSlug: string | null; }>; export declare const portabilityIssueManifestEntrySchema: z.ZodObject<{ slug: z.ZodString; identifier: z.ZodNullable; title: z.ZodString; path: z.ZodString; projectSlug: z.ZodNullable; projectWorkspaceKey: z.ZodNullable; assigneeAgentSlug: z.ZodNullable; description: z.ZodNullable; recurring: z.ZodDefault; routine: z.ZodNullable; catchUpPolicy: z.ZodNullable; variables: z.ZodOptional>; type: z.ZodDefault>>; defaultValue: z.ZodNullable>>; required: z.ZodDefault>; options: z.ZodDefault>>; }, "strip", z.ZodTypeAny, { name: string; required: boolean; options: string[]; type: "number" | "boolean" | "text" | "textarea" | "select"; label?: string | null | undefined; defaultValue?: string | number | boolean | null | undefined; }, { name: string; label?: string | null | undefined; required?: boolean | undefined; options?: string[] | undefined; type?: "number" | "boolean" | "text" | "textarea" | "select" | undefined; defaultValue?: string | number | boolean | null | undefined; }>, { name: string; required: boolean; options: string[]; type: "number" | "boolean" | "text" | "textarea" | "select"; label?: string | null | undefined; defaultValue?: string | number | boolean | null | undefined; }, { name: string; label?: string | null | undefined; required?: boolean | undefined; options?: string[] | undefined; type?: "number" | "boolean" | "text" | "textarea" | "select" | undefined; defaultValue?: string | number | boolean | null | undefined; }>, "many">>>; triggers: z.ZodDefault; enabled: z.ZodBoolean; cronExpression: z.ZodNullable; timezone: z.ZodNullable; signingMode: z.ZodNullable; replayWindowSec: z.ZodNullable; }, "strip", z.ZodTypeAny, { kind: string; label: string | null; enabled: boolean; cronExpression: string | null; timezone: string | null; signingMode: string | null; replayWindowSec: number | null; }, { kind: string; label: string | null; enabled: boolean; cronExpression: string | null; timezone: string | null; signingMode: string | null; replayWindowSec: number | null; }>, "many">>; }, "strip", z.ZodTypeAny, { concurrencyPolicy: string | null; catchUpPolicy: string | null; triggers: { kind: string; label: string | null; enabled: boolean; cronExpression: string | null; timezone: string | null; signingMode: string | null; replayWindowSec: number | null; }[]; variables?: { name: string; required: boolean; options: string[]; type: "number" | "boolean" | "text" | "textarea" | "select"; label?: string | null | undefined; defaultValue?: string | number | boolean | null | undefined; }[] | null | undefined; }, { concurrencyPolicy: string | null; catchUpPolicy: string | null; variables?: { name: string; label?: string | null | undefined; required?: boolean | undefined; options?: string[] | undefined; type?: "number" | "boolean" | "text" | "textarea" | "select" | undefined; defaultValue?: string | number | boolean | null | undefined; }[] | null | undefined; triggers?: { kind: string; label: string | null; enabled: boolean; cronExpression: string | null; timezone: string | null; signingMode: string | null; replayWindowSec: number | null; }[] | undefined; }>>; legacyRecurrence: z.ZodNullable>; status: z.ZodNullable; priority: z.ZodNullable; labelIds: z.ZodDefault>; billingCode: z.ZodNullable; executionWorkspaceSettings: z.ZodNullable>; assigneeAdapterOverrides: z.ZodNullable>; comments: z.ZodDefault; authorAgentSlug: z.ZodNullable; authorUserId: z.ZodNullable; presentation: z.ZodNullable>; tone: z.ZodDefault>; title: z.ZodOptional>; detailsDefaultOpen: z.ZodDefault>; }, "strict", z.ZodTypeAny, { kind: "message" | "system_notice"; tone: "neutral" | "info" | "success" | "warning" | "danger"; detailsDefaultOpen: boolean; title?: string | null | undefined; }, { title?: string | null | undefined; kind?: "message" | "system_notice" | undefined; tone?: "neutral" | "info" | "success" | "warning" | "danger" | undefined; detailsDefaultOpen?: boolean | undefined; }>>; metadata: z.ZodNullable; sourceRunId: z.ZodOptional>; sections: z.ZodArray>; rows: z.ZodArray>; } & { type: z.ZodLiteral<"text">; text: z.ZodString; }, "strict", z.ZodTypeAny, { text: string; type: "text"; label?: string | null | undefined; }, { text: string; type: "text"; label?: string | null | undefined; }>, z.ZodObject<{ label: z.ZodOptional>; } & { type: z.ZodLiteral<"code">; code: z.ZodString; language: z.ZodOptional>; }, "strict", z.ZodTypeAny, { code: string; type: "code"; label?: string | null | undefined; language?: string | null | undefined; }, { code: string; type: "code"; label?: string | null | undefined; language?: string | null | undefined; }>, z.ZodObject<{} & { type: z.ZodLiteral<"key_value">; label: z.ZodString; value: z.ZodString; }, "strict", z.ZodTypeAny, { label: string; value: string; type: "key_value"; }, { label: string; value: string; type: "key_value"; }>, z.ZodObject<{ label: z.ZodOptional>; } & { type: z.ZodLiteral<"issue_link">; issueId: z.ZodOptional>; identifier: z.ZodOptional>; title: z.ZodOptional>; }, "strict", z.ZodTypeAny, { type: "issue_link"; title?: string | null | undefined; label?: string | null | undefined; issueId?: string | null | undefined; identifier?: string | null | undefined; }, { type: "issue_link"; title?: string | null | undefined; label?: string | null | undefined; issueId?: string | null | undefined; identifier?: string | null | undefined; }>, z.ZodObject<{ label: z.ZodOptional>; } & { type: z.ZodLiteral<"agent_link">; agentId: z.ZodString; name: z.ZodOptional>; }, "strict", z.ZodTypeAny, { type: "agent_link"; agentId: string; name?: string | null | undefined; label?: string | null | undefined; }, { type: "agent_link"; agentId: string; name?: string | null | undefined; label?: string | null | undefined; }>, z.ZodObject<{ label: z.ZodOptional>; } & { type: z.ZodLiteral<"run_link">; runId: z.ZodString; title: z.ZodOptional>; }, "strict", z.ZodTypeAny, { type: "run_link"; runId: string; title?: string | null | undefined; label?: string | null | undefined; }, { type: "run_link"; runId: string; title?: string | null | undefined; label?: string | null | undefined; }>]>, { text: string; type: "text"; label?: string | null | undefined; } | { code: string; type: "code"; label?: string | null | undefined; language?: string | null | undefined; } | { label: string; value: string; type: "key_value"; } | { type: "issue_link"; title?: string | null | undefined; label?: string | null | undefined; issueId?: string | null | undefined; identifier?: string | null | undefined; } | { type: "agent_link"; agentId: string; name?: string | null | undefined; label?: string | null | undefined; } | { type: "run_link"; runId: string; title?: string | null | undefined; label?: string | null | undefined; }, { text: string; type: "text"; label?: string | null | undefined; } | { code: string; type: "code"; label?: string | null | undefined; language?: string | null | undefined; } | { label: string; value: string; type: "key_value"; } | { type: "issue_link"; title?: string | null | undefined; label?: string | null | undefined; issueId?: string | null | undefined; identifier?: string | null | undefined; } | { type: "agent_link"; agentId: string; name?: string | null | undefined; label?: string | null | undefined; } | { type: "run_link"; runId: string; title?: string | null | undefined; label?: string | null | undefined; }>, "many">; }, "strict", z.ZodTypeAny, { rows: ({ text: string; type: "text"; label?: string | null | undefined; } | { code: string; type: "code"; label?: string | null | undefined; language?: string | null | undefined; } | { label: string; value: string; type: "key_value"; } | { type: "issue_link"; title?: string | null | undefined; label?: string | null | undefined; issueId?: string | null | undefined; identifier?: string | null | undefined; } | { type: "agent_link"; agentId: string; name?: string | null | undefined; label?: string | null | undefined; } | { type: "run_link"; runId: string; title?: string | null | undefined; label?: string | null | undefined; })[]; title?: string | null | undefined; }, { rows: ({ text: string; type: "text"; label?: string | null | undefined; } | { code: string; type: "code"; label?: string | null | undefined; language?: string | null | undefined; } | { label: string; value: string; type: "key_value"; } | { type: "issue_link"; title?: string | null | undefined; label?: string | null | undefined; issueId?: string | null | undefined; identifier?: string | null | undefined; } | { type: "agent_link"; agentId: string; name?: string | null | undefined; label?: string | null | undefined; } | { type: "run_link"; runId: string; title?: string | null | undefined; label?: string | null | undefined; })[]; title?: string | null | undefined; }>, "many">; }, "strict", z.ZodTypeAny, { version: 1; sections: { rows: ({ text: string; type: "text"; label?: string | null | undefined; } | { code: string; type: "code"; label?: string | null | undefined; language?: string | null | undefined; } | { label: string; value: string; type: "key_value"; } | { type: "issue_link"; title?: string | null | undefined; label?: string | null | undefined; issueId?: string | null | undefined; identifier?: string | null | undefined; } | { type: "agent_link"; agentId: string; name?: string | null | undefined; label?: string | null | undefined; } | { type: "run_link"; runId: string; title?: string | null | undefined; label?: string | null | undefined; })[]; title?: string | null | undefined; }[]; sourceRunId?: string | null | undefined; }, { version: 1; sections: { rows: ({ text: string; type: "text"; label?: string | null | undefined; } | { code: string; type: "code"; label?: string | null | undefined; language?: string | null | undefined; } | { label: string; value: string; type: "key_value"; } | { type: "issue_link"; title?: string | null | undefined; label?: string | null | undefined; issueId?: string | null | undefined; identifier?: string | null | undefined; } | { type: "agent_link"; agentId: string; name?: string | null | undefined; label?: string | null | undefined; } | { type: "run_link"; runId: string; title?: string | null | undefined; label?: string | null | undefined; })[]; title?: string | null | undefined; }[]; sourceRunId?: string | null | undefined; }>>; createdAt: z.ZodNullable; }, "strip", z.ZodTypeAny, { createdAt: string | null; body: string; metadata: { version: 1; sections: { rows: ({ text: string; type: "text"; label?: string | null | undefined; } | { code: string; type: "code"; label?: string | null | undefined; language?: string | null | undefined; } | { label: string; value: string; type: "key_value"; } | { type: "issue_link"; title?: string | null | undefined; label?: string | null | undefined; issueId?: string | null | undefined; identifier?: string | null | undefined; } | { type: "agent_link"; agentId: string; name?: string | null | undefined; label?: string | null | undefined; } | { type: "run_link"; runId: string; title?: string | null | undefined; label?: string | null | undefined; })[]; title?: string | null | undefined; }[]; sourceRunId?: string | null | undefined; } | null; authorUserId: string | null; authorType: "user" | "agent" | "system"; presentation: { kind: "message" | "system_notice"; tone: "neutral" | "info" | "success" | "warning" | "danger"; detailsDefaultOpen: boolean; title?: string | null | undefined; } | null; authorAgentSlug: string | null; }, { createdAt: string | null; body: string; metadata: { version: 1; sections: { rows: ({ text: string; type: "text"; label?: string | null | undefined; } | { code: string; type: "code"; label?: string | null | undefined; language?: string | null | undefined; } | { label: string; value: string; type: "key_value"; } | { type: "issue_link"; title?: string | null | undefined; label?: string | null | undefined; issueId?: string | null | undefined; identifier?: string | null | undefined; } | { type: "agent_link"; agentId: string; name?: string | null | undefined; label?: string | null | undefined; } | { type: "run_link"; runId: string; title?: string | null | undefined; label?: string | null | undefined; })[]; title?: string | null | undefined; }[]; sourceRunId?: string | null | undefined; } | null; authorUserId: string | null; authorType: "user" | "agent" | "system"; presentation: { title?: string | null | undefined; kind?: "message" | "system_notice" | undefined; tone?: "neutral" | "info" | "success" | "warning" | "danger" | undefined; detailsDefaultOpen?: boolean | undefined; } | null; authorAgentSlug: string | null; }>, "many">>; metadata: z.ZodNullable>; }, "strip", z.ZodTypeAny, { title: string; description: string | null; routine: { concurrencyPolicy: string | null; catchUpPolicy: string | null; triggers: { kind: string; label: string | null; enabled: boolean; cronExpression: string | null; timezone: string | null; signingMode: string | null; replayWindowSec: number | null; }[]; variables?: { name: string; required: boolean; options: string[]; type: "number" | "boolean" | "text" | "textarea" | "select"; label?: string | null | undefined; defaultValue?: string | number | boolean | null | undefined; }[] | null | undefined; } | null; status: string | null; comments: { createdAt: string | null; body: string; metadata: { version: 1; sections: { rows: ({ text: string; type: "text"; label?: string | null | undefined; } | { code: string; type: "code"; label?: string | null | undefined; language?: string | null | undefined; } | { label: string; value: string; type: "key_value"; } | { type: "issue_link"; title?: string | null | undefined; label?: string | null | undefined; issueId?: string | null | undefined; identifier?: string | null | undefined; } | { type: "agent_link"; agentId: string; name?: string | null | undefined; label?: string | null | undefined; } | { type: "run_link"; runId: string; title?: string | null | undefined; label?: string | null | undefined; })[]; title?: string | null | undefined; }[]; sourceRunId?: string | null | undefined; } | null; authorUserId: string | null; authorType: "user" | "agent" | "system"; presentation: { kind: "message" | "system_notice"; tone: "neutral" | "info" | "success" | "warning" | "danger"; detailsDefaultOpen: boolean; title?: string | null | undefined; } | null; authorAgentSlug: string | null; }[]; identifier: string | null; path: string; metadata: Record | null; slug: string; priority: string | null; billingCode: string | null; assigneeAdapterOverrides: Record | null; executionWorkspaceSettings: Record | null; labelIds: string[]; projectSlug: string | null; projectWorkspaceKey: string | null; assigneeAgentSlug: string | null; recurring: boolean; legacyRecurrence: Record | null; }, { title: string; description: string | null; routine: { concurrencyPolicy: string | null; catchUpPolicy: string | null; variables?: { name: string; label?: string | null | undefined; required?: boolean | undefined; options?: string[] | undefined; type?: "number" | "boolean" | "text" | "textarea" | "select" | undefined; defaultValue?: string | number | boolean | null | undefined; }[] | null | undefined; triggers?: { kind: string; label: string | null; enabled: boolean; cronExpression: string | null; timezone: string | null; signingMode: string | null; replayWindowSec: number | null; }[] | undefined; } | null; status: string | null; identifier: string | null; path: string; metadata: Record | null; slug: string; priority: string | null; billingCode: string | null; assigneeAdapterOverrides: Record | null; executionWorkspaceSettings: Record | null; projectSlug: string | null; projectWorkspaceKey: string | null; assigneeAgentSlug: string | null; legacyRecurrence: Record | null; comments?: { createdAt: string | null; body: string; metadata: { version: 1; sections: { rows: ({ text: string; type: "text"; label?: string | null | undefined; } | { code: string; type: "code"; label?: string | null | undefined; language?: string | null | undefined; } | { label: string; value: string; type: "key_value"; } | { type: "issue_link"; title?: string | null | undefined; label?: string | null | undefined; issueId?: string | null | undefined; identifier?: string | null | undefined; } | { type: "agent_link"; agentId: string; name?: string | null | undefined; label?: string | null | undefined; } | { type: "run_link"; runId: string; title?: string | null | undefined; label?: string | null | undefined; })[]; title?: string | null | undefined; }[]; sourceRunId?: string | null | undefined; } | null; authorUserId: string | null; authorType: "user" | "agent" | "system"; presentation: { title?: string | null | undefined; kind?: "message" | "system_notice" | undefined; tone?: "neutral" | "info" | "success" | "warning" | "danger" | undefined; detailsDefaultOpen?: boolean | undefined; } | null; authorAgentSlug: string | null; }[] | undefined; labelIds?: string[] | undefined; recurring?: boolean | undefined; }>; export declare const portabilityManifestSchema: z.ZodObject<{ schemaVersion: z.ZodNumber; generatedAt: z.ZodString; source: z.ZodNullable>; includes: z.ZodObject<{ company: z.ZodBoolean; agents: z.ZodBoolean; projects: z.ZodBoolean; issues: z.ZodBoolean; skills: z.ZodBoolean; }, "strip", z.ZodTypeAny, { company: boolean; projects: boolean; agents: boolean; issues: boolean; skills: boolean; }, { company: boolean; projects: boolean; agents: boolean; issues: boolean; skills: boolean; }>; company: z.ZodNullable; brandColor: z.ZodNullable; logoPath: z.ZodNullable; attachmentMaxBytes: z.ZodDefault>; requireBoardApprovalForNewAgents: z.ZodBoolean; feedbackDataSharingEnabled: z.ZodDefault; feedbackDataSharingConsentAt: z.ZodDefault>; feedbackDataSharingConsentByUserId: z.ZodDefault>; feedbackDataSharingTermsVersion: z.ZodDefault>; }, "strip", z.ZodTypeAny, { description: string | null; name: string; path: string; attachmentMaxBytes: number | null; requireBoardApprovalForNewAgents: boolean; feedbackDataSharingEnabled: boolean; feedbackDataSharingConsentAt: string | null; feedbackDataSharingConsentByUserId: string | null; feedbackDataSharingTermsVersion: string | null; brandColor: string | null; logoPath: string | null; }, { description: string | null; name: string; path: string; requireBoardApprovalForNewAgents: boolean; brandColor: string | null; logoPath: string | null; attachmentMaxBytes?: number | null | undefined; feedbackDataSharingEnabled?: boolean | undefined; feedbackDataSharingConsentAt?: string | null | undefined; feedbackDataSharingConsentByUserId?: string | null | undefined; feedbackDataSharingTermsVersion?: string | null | undefined; }>>; sidebar: z.ZodNullable>; projects: z.ZodDefault>; }, "strip", z.ZodTypeAny, { projects: string[]; agents: string[]; }, { projects?: string[] | undefined; agents?: string[] | undefined; }>>; agents: z.ZodArray>; role: z.ZodString; title: z.ZodNullable; icon: z.ZodNullable; capabilities: z.ZodNullable; reportsToSlug: z.ZodNullable; adapterType: z.ZodString; adapterConfig: z.ZodRecord; runtimeConfig: z.ZodRecord; permissions: z.ZodRecord; budgetMonthlyCents: z.ZodNumber; metadata: z.ZodNullable>; }, "strip", z.ZodTypeAny, { title: string | null; name: string; path: string; metadata: Record | null; budgetMonthlyCents: number; slug: string; adapterType: string; adapterConfig: Record; skills: string[]; role: string; icon: string | null; capabilities: string | null; reportsToSlug: string | null; runtimeConfig: Record; permissions: Record; }, { title: string | null; name: string; path: string; metadata: Record | null; budgetMonthlyCents: number; slug: string; adapterType: string; adapterConfig: Record; role: string; icon: string | null; capabilities: string | null; reportsToSlug: string | null; runtimeConfig: Record; permissions: Record; skills?: string[] | undefined; }>, "many">; skills: z.ZodDefault; sourceType: z.ZodString; sourceLocator: z.ZodNullable; sourceRef: z.ZodNullable; trustLevel: z.ZodNullable; compatibility: z.ZodNullable; metadata: z.ZodNullable>; fileInventory: z.ZodDefault, "many">>; }, "strip", z.ZodTypeAny, { description: string | null; name: string; key: string; path: string; metadata: Record | null; slug: string; sourceType: string; sourceLocator: string | null; sourceRef: string | null; trustLevel: string | null; compatibility: string | null; fileInventory: { kind: string; path: string; }[]; }, { description: string | null; name: string; key: string; path: string; metadata: Record | null; slug: string; sourceType: string; sourceLocator: string | null; sourceRef: string | null; trustLevel: string | null; compatibility: string | null; fileInventory?: { kind: string; path: string; }[] | undefined; }>, "many">>; projects: z.ZodDefault; ownerAgentSlug: z.ZodNullable; leadAgentSlug: z.ZodNullable; targetDate: z.ZodNullable; color: z.ZodNullable; status: z.ZodNullable; executionWorkspacePolicy: z.ZodNullable>; workspaces: z.ZodDefault; repoUrl: z.ZodNullable; repoRef: z.ZodNullable; defaultRef: z.ZodNullable; visibility: z.ZodNullable; setupCommand: z.ZodNullable; cleanupCommand: z.ZodNullable; metadata: z.ZodNullable>; isPrimary: z.ZodBoolean; }, "strip", z.ZodTypeAny, { name: string; key: string; cleanupCommand: string | null; repoUrl: string | null; metadata: Record | null; sourceType: string | null; repoRef: string | null; defaultRef: string | null; visibility: string | null; setupCommand: string | null; isPrimary: boolean; }, { name: string; key: string; cleanupCommand: string | null; repoUrl: string | null; metadata: Record | null; sourceType: string | null; repoRef: string | null; defaultRef: string | null; visibility: string | null; setupCommand: string | null; isPrimary: boolean; }>, "many">>; metadata: z.ZodNullable>; }, "strip", z.ZodTypeAny, { description: string | null; status: string | null; name: string; path: string; metadata: Record | null; slug: string; color: string | null; ownerAgentSlug: string | null; leadAgentSlug: string | null; targetDate: string | null; executionWorkspacePolicy: Record | null; workspaces: { name: string; key: string; cleanupCommand: string | null; repoUrl: string | null; metadata: Record | null; sourceType: string | null; repoRef: string | null; defaultRef: string | null; visibility: string | null; setupCommand: string | null; isPrimary: boolean; }[]; }, { description: string | null; status: string | null; name: string; path: string; metadata: Record | null; slug: string; color: string | null; ownerAgentSlug: string | null; leadAgentSlug: string | null; targetDate: string | null; executionWorkspacePolicy: Record | null; workspaces?: { name: string; key: string; cleanupCommand: string | null; repoUrl: string | null; metadata: Record | null; sourceType: string | null; repoRef: string | null; defaultRef: string | null; visibility: string | null; setupCommand: string | null; isPrimary: boolean; }[] | undefined; }>, "many">>; issues: z.ZodDefault; title: z.ZodString; path: z.ZodString; projectSlug: z.ZodNullable; projectWorkspaceKey: z.ZodNullable; assigneeAgentSlug: z.ZodNullable; description: z.ZodNullable; recurring: z.ZodDefault; routine: z.ZodNullable; catchUpPolicy: z.ZodNullable; variables: z.ZodOptional>; type: z.ZodDefault>>; defaultValue: z.ZodNullable>>; required: z.ZodDefault>; options: z.ZodDefault>>; }, "strip", z.ZodTypeAny, { name: string; required: boolean; options: string[]; type: "number" | "boolean" | "text" | "textarea" | "select"; label?: string | null | undefined; defaultValue?: string | number | boolean | null | undefined; }, { name: string; label?: string | null | undefined; required?: boolean | undefined; options?: string[] | undefined; type?: "number" | "boolean" | "text" | "textarea" | "select" | undefined; defaultValue?: string | number | boolean | null | undefined; }>, { name: string; required: boolean; options: string[]; type: "number" | "boolean" | "text" | "textarea" | "select"; label?: string | null | undefined; defaultValue?: string | number | boolean | null | undefined; }, { name: string; label?: string | null | undefined; required?: boolean | undefined; options?: string[] | undefined; type?: "number" | "boolean" | "text" | "textarea" | "select" | undefined; defaultValue?: string | number | boolean | null | undefined; }>, "many">>>; triggers: z.ZodDefault; enabled: z.ZodBoolean; cronExpression: z.ZodNullable; timezone: z.ZodNullable; signingMode: z.ZodNullable; replayWindowSec: z.ZodNullable; }, "strip", z.ZodTypeAny, { kind: string; label: string | null; enabled: boolean; cronExpression: string | null; timezone: string | null; signingMode: string | null; replayWindowSec: number | null; }, { kind: string; label: string | null; enabled: boolean; cronExpression: string | null; timezone: string | null; signingMode: string | null; replayWindowSec: number | null; }>, "many">>; }, "strip", z.ZodTypeAny, { concurrencyPolicy: string | null; catchUpPolicy: string | null; triggers: { kind: string; label: string | null; enabled: boolean; cronExpression: string | null; timezone: string | null; signingMode: string | null; replayWindowSec: number | null; }[]; variables?: { name: string; required: boolean; options: string[]; type: "number" | "boolean" | "text" | "textarea" | "select"; label?: string | null | undefined; defaultValue?: string | number | boolean | null | undefined; }[] | null | undefined; }, { concurrencyPolicy: string | null; catchUpPolicy: string | null; variables?: { name: string; label?: string | null | undefined; required?: boolean | undefined; options?: string[] | undefined; type?: "number" | "boolean" | "text" | "textarea" | "select" | undefined; defaultValue?: string | number | boolean | null | undefined; }[] | null | undefined; triggers?: { kind: string; label: string | null; enabled: boolean; cronExpression: string | null; timezone: string | null; signingMode: string | null; replayWindowSec: number | null; }[] | undefined; }>>; legacyRecurrence: z.ZodNullable>; status: z.ZodNullable; priority: z.ZodNullable; labelIds: z.ZodDefault>; billingCode: z.ZodNullable; executionWorkspaceSettings: z.ZodNullable>; assigneeAdapterOverrides: z.ZodNullable>; comments: z.ZodDefault; authorAgentSlug: z.ZodNullable; authorUserId: z.ZodNullable; presentation: z.ZodNullable>; tone: z.ZodDefault>; title: z.ZodOptional>; detailsDefaultOpen: z.ZodDefault>; }, "strict", z.ZodTypeAny, { kind: "message" | "system_notice"; tone: "neutral" | "info" | "success" | "warning" | "danger"; detailsDefaultOpen: boolean; title?: string | null | undefined; }, { title?: string | null | undefined; kind?: "message" | "system_notice" | undefined; tone?: "neutral" | "info" | "success" | "warning" | "danger" | undefined; detailsDefaultOpen?: boolean | undefined; }>>; metadata: z.ZodNullable; sourceRunId: z.ZodOptional>; sections: z.ZodArray>; rows: z.ZodArray>; } & { type: z.ZodLiteral<"text">; text: z.ZodString; }, "strict", z.ZodTypeAny, { text: string; type: "text"; label?: string | null | undefined; }, { text: string; type: "text"; label?: string | null | undefined; }>, z.ZodObject<{ label: z.ZodOptional>; } & { type: z.ZodLiteral<"code">; code: z.ZodString; language: z.ZodOptional>; }, "strict", z.ZodTypeAny, { code: string; type: "code"; label?: string | null | undefined; language?: string | null | undefined; }, { code: string; type: "code"; label?: string | null | undefined; language?: string | null | undefined; }>, z.ZodObject<{} & { type: z.ZodLiteral<"key_value">; label: z.ZodString; value: z.ZodString; }, "strict", z.ZodTypeAny, { label: string; value: string; type: "key_value"; }, { label: string; value: string; type: "key_value"; }>, z.ZodObject<{ label: z.ZodOptional>; } & { type: z.ZodLiteral<"issue_link">; issueId: z.ZodOptional>; identifier: z.ZodOptional>; title: z.ZodOptional>; }, "strict", z.ZodTypeAny, { type: "issue_link"; title?: string | null | undefined; label?: string | null | undefined; issueId?: string | null | undefined; identifier?: string | null | undefined; }, { type: "issue_link"; title?: string | null | undefined; label?: string | null | undefined; issueId?: string | null | undefined; identifier?: string | null | undefined; }>, z.ZodObject<{ label: z.ZodOptional>; } & { type: z.ZodLiteral<"agent_link">; agentId: z.ZodString; name: z.ZodOptional>; }, "strict", z.ZodTypeAny, { type: "agent_link"; agentId: string; name?: string | null | undefined; label?: string | null | undefined; }, { type: "agent_link"; agentId: string; name?: string | null | undefined; label?: string | null | undefined; }>, z.ZodObject<{ label: z.ZodOptional>; } & { type: z.ZodLiteral<"run_link">; runId: z.ZodString; title: z.ZodOptional>; }, "strict", z.ZodTypeAny, { type: "run_link"; runId: string; title?: string | null | undefined; label?: string | null | undefined; }, { type: "run_link"; runId: string; title?: string | null | undefined; label?: string | null | undefined; }>]>, { text: string; type: "text"; label?: string | null | undefined; } | { code: string; type: "code"; label?: string | null | undefined; language?: string | null | undefined; } | { label: string; value: string; type: "key_value"; } | { type: "issue_link"; title?: string | null | undefined; label?: string | null | undefined; issueId?: string | null | undefined; identifier?: string | null | undefined; } | { type: "agent_link"; agentId: string; name?: string | null | undefined; label?: string | null | undefined; } | { type: "run_link"; runId: string; title?: string | null | undefined; label?: string | null | undefined; }, { text: string; type: "text"; label?: string | null | undefined; } | { code: string; type: "code"; label?: string | null | undefined; language?: string | null | undefined; } | { label: string; value: string; type: "key_value"; } | { type: "issue_link"; title?: string | null | undefined; label?: string | null | undefined; issueId?: string | null | undefined; identifier?: string | null | undefined; } | { type: "agent_link"; agentId: string; name?: string | null | undefined; label?: string | null | undefined; } | { type: "run_link"; runId: string; title?: string | null | undefined; label?: string | null | undefined; }>, "many">; }, "strict", z.ZodTypeAny, { rows: ({ text: string; type: "text"; label?: string | null | undefined; } | { code: string; type: "code"; label?: string | null | undefined; language?: string | null | undefined; } | { label: string; value: string; type: "key_value"; } | { type: "issue_link"; title?: string | null | undefined; label?: string | null | undefined; issueId?: string | null | undefined; identifier?: string | null | undefined; } | { type: "agent_link"; agentId: string; name?: string | null | undefined; label?: string | null | undefined; } | { type: "run_link"; runId: string; title?: string | null | undefined; label?: string | null | undefined; })[]; title?: string | null | undefined; }, { rows: ({ text: string; type: "text"; label?: string | null | undefined; } | { code: string; type: "code"; label?: string | null | undefined; language?: string | null | undefined; } | { label: string; value: string; type: "key_value"; } | { type: "issue_link"; title?: string | null | undefined; label?: string | null | undefined; issueId?: string | null | undefined; identifier?: string | null | undefined; } | { type: "agent_link"; agentId: string; name?: string | null | undefined; label?: string | null | undefined; } | { type: "run_link"; runId: string; title?: string | null | undefined; label?: string | null | undefined; })[]; title?: string | null | undefined; }>, "many">; }, "strict", z.ZodTypeAny, { version: 1; sections: { rows: ({ text: string; type: "text"; label?: string | null | undefined; } | { code: string; type: "code"; label?: string | null | undefined; language?: string | null | undefined; } | { label: string; value: string; type: "key_value"; } | { type: "issue_link"; title?: string | null | undefined; label?: string | null | undefined; issueId?: string | null | undefined; identifier?: string | null | undefined; } | { type: "agent_link"; agentId: string; name?: string | null | undefined; label?: string | null | undefined; } | { type: "run_link"; runId: string; title?: string | null | undefined; label?: string | null | undefined; })[]; title?: string | null | undefined; }[]; sourceRunId?: string | null | undefined; }, { version: 1; sections: { rows: ({ text: string; type: "text"; label?: string | null | undefined; } | { code: string; type: "code"; label?: string | null | undefined; language?: string | null | undefined; } | { label: string; value: string; type: "key_value"; } | { type: "issue_link"; title?: string | null | undefined; label?: string | null | undefined; issueId?: string | null | undefined; identifier?: string | null | undefined; } | { type: "agent_link"; agentId: string; name?: string | null | undefined; label?: string | null | undefined; } | { type: "run_link"; runId: string; title?: string | null | undefined; label?: string | null | undefined; })[]; title?: string | null | undefined; }[]; sourceRunId?: string | null | undefined; }>>; createdAt: z.ZodNullable; }, "strip", z.ZodTypeAny, { createdAt: string | null; body: string; metadata: { version: 1; sections: { rows: ({ text: string; type: "text"; label?: string | null | undefined; } | { code: string; type: "code"; label?: string | null | undefined; language?: string | null | undefined; } | { label: string; value: string; type: "key_value"; } | { type: "issue_link"; title?: string | null | undefined; label?: string | null | undefined; issueId?: string | null | undefined; identifier?: string | null | undefined; } | { type: "agent_link"; agentId: string; name?: string | null | undefined; label?: string | null | undefined; } | { type: "run_link"; runId: string; title?: string | null | undefined; label?: string | null | undefined; })[]; title?: string | null | undefined; }[]; sourceRunId?: string | null | undefined; } | null; authorUserId: string | null; authorType: "user" | "agent" | "system"; presentation: { kind: "message" | "system_notice"; tone: "neutral" | "info" | "success" | "warning" | "danger"; detailsDefaultOpen: boolean; title?: string | null | undefined; } | null; authorAgentSlug: string | null; }, { createdAt: string | null; body: string; metadata: { version: 1; sections: { rows: ({ text: string; type: "text"; label?: string | null | undefined; } | { code: string; type: "code"; label?: string | null | undefined; language?: string | null | undefined; } | { label: string; value: string; type: "key_value"; } | { type: "issue_link"; title?: string | null | undefined; label?: string | null | undefined; issueId?: string | null | undefined; identifier?: string | null | undefined; } | { type: "agent_link"; agentId: string; name?: string | null | undefined; label?: string | null | undefined; } | { type: "run_link"; runId: string; title?: string | null | undefined; label?: string | null | undefined; })[]; title?: string | null | undefined; }[]; sourceRunId?: string | null | undefined; } | null; authorUserId: string | null; authorType: "user" | "agent" | "system"; presentation: { title?: string | null | undefined; kind?: "message" | "system_notice" | undefined; tone?: "neutral" | "info" | "success" | "warning" | "danger" | undefined; detailsDefaultOpen?: boolean | undefined; } | null; authorAgentSlug: string | null; }>, "many">>; metadata: z.ZodNullable>; }, "strip", z.ZodTypeAny, { title: string; description: string | null; routine: { concurrencyPolicy: string | null; catchUpPolicy: string | null; triggers: { kind: string; label: string | null; enabled: boolean; cronExpression: string | null; timezone: string | null; signingMode: string | null; replayWindowSec: number | null; }[]; variables?: { name: string; required: boolean; options: string[]; type: "number" | "boolean" | "text" | "textarea" | "select"; label?: string | null | undefined; defaultValue?: string | number | boolean | null | undefined; }[] | null | undefined; } | null; status: string | null; comments: { createdAt: string | null; body: string; metadata: { version: 1; sections: { rows: ({ text: string; type: "text"; label?: string | null | undefined; } | { code: string; type: "code"; label?: string | null | undefined; language?: string | null | undefined; } | { label: string; value: string; type: "key_value"; } | { type: "issue_link"; title?: string | null | undefined; label?: string | null | undefined; issueId?: string | null | undefined; identifier?: string | null | undefined; } | { type: "agent_link"; agentId: string; name?: string | null | undefined; label?: string | null | undefined; } | { type: "run_link"; runId: string; title?: string | null | undefined; label?: string | null | undefined; })[]; title?: string | null | undefined; }[]; sourceRunId?: string | null | undefined; } | null; authorUserId: string | null; authorType: "user" | "agent" | "system"; presentation: { kind: "message" | "system_notice"; tone: "neutral" | "info" | "success" | "warning" | "danger"; detailsDefaultOpen: boolean; title?: string | null | undefined; } | null; authorAgentSlug: string | null; }[]; identifier: string | null; path: string; metadata: Record | null; slug: string; priority: string | null; billingCode: string | null; assigneeAdapterOverrides: Record | null; executionWorkspaceSettings: Record | null; labelIds: string[]; projectSlug: string | null; projectWorkspaceKey: string | null; assigneeAgentSlug: string | null; recurring: boolean; legacyRecurrence: Record | null; }, { title: string; description: string | null; routine: { concurrencyPolicy: string | null; catchUpPolicy: string | null; variables?: { name: string; label?: string | null | undefined; required?: boolean | undefined; options?: string[] | undefined; type?: "number" | "boolean" | "text" | "textarea" | "select" | undefined; defaultValue?: string | number | boolean | null | undefined; }[] | null | undefined; triggers?: { kind: string; label: string | null; enabled: boolean; cronExpression: string | null; timezone: string | null; signingMode: string | null; replayWindowSec: number | null; }[] | undefined; } | null; status: string | null; identifier: string | null; path: string; metadata: Record | null; slug: string; priority: string | null; billingCode: string | null; assigneeAdapterOverrides: Record | null; executionWorkspaceSettings: Record | null; projectSlug: string | null; projectWorkspaceKey: string | null; assigneeAgentSlug: string | null; legacyRecurrence: Record | null; comments?: { createdAt: string | null; body: string; metadata: { version: 1; sections: { rows: ({ text: string; type: "text"; label?: string | null | undefined; } | { code: string; type: "code"; label?: string | null | undefined; language?: string | null | undefined; } | { label: string; value: string; type: "key_value"; } | { type: "issue_link"; title?: string | null | undefined; label?: string | null | undefined; issueId?: string | null | undefined; identifier?: string | null | undefined; } | { type: "agent_link"; agentId: string; name?: string | null | undefined; label?: string | null | undefined; } | { type: "run_link"; runId: string; title?: string | null | undefined; label?: string | null | undefined; })[]; title?: string | null | undefined; }[]; sourceRunId?: string | null | undefined; } | null; authorUserId: string | null; authorType: "user" | "agent" | "system"; presentation: { title?: string | null | undefined; kind?: "message" | "system_notice" | undefined; tone?: "neutral" | "info" | "success" | "warning" | "danger" | undefined; detailsDefaultOpen?: boolean | undefined; } | null; authorAgentSlug: string | null; }[] | undefined; labelIds?: string[] | undefined; recurring?: boolean | undefined; }>, "many">>; envInputs: z.ZodDefault; agentSlug: z.ZodNullable; projectSlug: z.ZodNullable; kind: z.ZodEnum<["secret", "plain"]>; requirement: z.ZodEnum<["required", "optional"]>; defaultValue: z.ZodNullable; portability: z.ZodEnum<["portable", "system_dependent"]>; }, "strip", z.ZodTypeAny, { description: string | null; key: string; kind: "plain" | "secret"; defaultValue: string | null; agentSlug: string | null; projectSlug: string | null; requirement: "optional" | "required"; portability: "portable" | "system_dependent"; }, { description: string | null; key: string; kind: "plain" | "secret"; defaultValue: string | null; agentSlug: string | null; projectSlug: string | null; requirement: "optional" | "required"; portability: "portable" | "system_dependent"; }>, "many">>; }, "strip", z.ZodTypeAny, { company: { description: string | null; name: string; path: string; attachmentMaxBytes: number | null; requireBoardApprovalForNewAgents: boolean; feedbackDataSharingEnabled: boolean; feedbackDataSharingConsentAt: string | null; feedbackDataSharingConsentByUserId: string | null; feedbackDataSharingTermsVersion: string | null; brandColor: string | null; logoPath: string | null; } | null; projects: { description: string | null; status: string | null; name: string; path: string; metadata: Record | null; slug: string; color: string | null; ownerAgentSlug: string | null; leadAgentSlug: string | null; targetDate: string | null; executionWorkspacePolicy: Record | null; workspaces: { name: string; key: string; cleanupCommand: string | null; repoUrl: string | null; metadata: Record | null; sourceType: string | null; repoRef: string | null; defaultRef: string | null; visibility: string | null; setupCommand: string | null; isPrimary: boolean; }[]; }[]; agents: { title: string | null; name: string; path: string; metadata: Record | null; budgetMonthlyCents: number; slug: string; adapterType: string; adapterConfig: Record; skills: string[]; role: string; icon: string | null; capabilities: string | null; reportsToSlug: string | null; runtimeConfig: Record; permissions: Record; }[]; issues: { title: string; description: string | null; routine: { concurrencyPolicy: string | null; catchUpPolicy: string | null; triggers: { kind: string; label: string | null; enabled: boolean; cronExpression: string | null; timezone: string | null; signingMode: string | null; replayWindowSec: number | null; }[]; variables?: { name: string; required: boolean; options: string[]; type: "number" | "boolean" | "text" | "textarea" | "select"; label?: string | null | undefined; defaultValue?: string | number | boolean | null | undefined; }[] | null | undefined; } | null; status: string | null; comments: { createdAt: string | null; body: string; metadata: { version: 1; sections: { rows: ({ text: string; type: "text"; label?: string | null | undefined; } | { code: string; type: "code"; label?: string | null | undefined; language?: string | null | undefined; } | { label: string; value: string; type: "key_value"; } | { type: "issue_link"; title?: string | null | undefined; label?: string | null | undefined; issueId?: string | null | undefined; identifier?: string | null | undefined; } | { type: "agent_link"; agentId: string; name?: string | null | undefined; label?: string | null | undefined; } | { type: "run_link"; runId: string; title?: string | null | undefined; label?: string | null | undefined; })[]; title?: string | null | undefined; }[]; sourceRunId?: string | null | undefined; } | null; authorUserId: string | null; authorType: "user" | "agent" | "system"; presentation: { kind: "message" | "system_notice"; tone: "neutral" | "info" | "success" | "warning" | "danger"; detailsDefaultOpen: boolean; title?: string | null | undefined; } | null; authorAgentSlug: string | null; }[]; identifier: string | null; path: string; metadata: Record | null; slug: string; priority: string | null; billingCode: string | null; assigneeAdapterOverrides: Record | null; executionWorkspaceSettings: Record | null; labelIds: string[]; projectSlug: string | null; projectWorkspaceKey: string | null; assigneeAgentSlug: string | null; recurring: boolean; legacyRecurrence: Record | null; }[]; sidebar: { projects: string[]; agents: string[]; } | null; source: { companyId: string; companyName: string; } | null; includes: { company: boolean; projects: boolean; agents: boolean; issues: boolean; skills: boolean; }; skills: { description: string | null; name: string; key: string; path: string; metadata: Record | null; slug: string; sourceType: string; sourceLocator: string | null; sourceRef: string | null; trustLevel: string | null; compatibility: string | null; fileInventory: { kind: string; path: string; }[]; }[]; schemaVersion: number; generatedAt: string; envInputs: { description: string | null; key: string; kind: "plain" | "secret"; defaultValue: string | null; agentSlug: string | null; projectSlug: string | null; requirement: "optional" | "required"; portability: "portable" | "system_dependent"; }[]; }, { company: { description: string | null; name: string; path: string; requireBoardApprovalForNewAgents: boolean; brandColor: string | null; logoPath: string | null; attachmentMaxBytes?: number | null | undefined; feedbackDataSharingEnabled?: boolean | undefined; feedbackDataSharingConsentAt?: string | null | undefined; feedbackDataSharingConsentByUserId?: string | null | undefined; feedbackDataSharingTermsVersion?: string | null | undefined; } | null; agents: { title: string | null; name: string; path: string; metadata: Record | null; budgetMonthlyCents: number; slug: string; adapterType: string; adapterConfig: Record; role: string; icon: string | null; capabilities: string | null; reportsToSlug: string | null; runtimeConfig: Record; permissions: Record; skills?: string[] | undefined; }[]; sidebar: { projects?: string[] | undefined; agents?: string[] | undefined; } | null; source: { companyId: string; companyName: string; } | null; includes: { company: boolean; projects: boolean; agents: boolean; issues: boolean; skills: boolean; }; schemaVersion: number; generatedAt: string; projects?: { description: string | null; status: string | null; name: string; path: string; metadata: Record | null; slug: string; color: string | null; ownerAgentSlug: string | null; leadAgentSlug: string | null; targetDate: string | null; executionWorkspacePolicy: Record | null; workspaces?: { name: string; key: string; cleanupCommand: string | null; repoUrl: string | null; metadata: Record | null; sourceType: string | null; repoRef: string | null; defaultRef: string | null; visibility: string | null; setupCommand: string | null; isPrimary: boolean; }[] | undefined; }[] | undefined; issues?: { title: string; description: string | null; routine: { concurrencyPolicy: string | null; catchUpPolicy: string | null; variables?: { name: string; label?: string | null | undefined; required?: boolean | undefined; options?: string[] | undefined; type?: "number" | "boolean" | "text" | "textarea" | "select" | undefined; defaultValue?: string | number | boolean | null | undefined; }[] | null | undefined; triggers?: { kind: string; label: string | null; enabled: boolean; cronExpression: string | null; timezone: string | null; signingMode: string | null; replayWindowSec: number | null; }[] | undefined; } | null; status: string | null; identifier: string | null; path: string; metadata: Record | null; slug: string; priority: string | null; billingCode: string | null; assigneeAdapterOverrides: Record | null; executionWorkspaceSettings: Record | null; projectSlug: string | null; projectWorkspaceKey: string | null; assigneeAgentSlug: string | null; legacyRecurrence: Record | null; comments?: { createdAt: string | null; body: string; metadata: { version: 1; sections: { rows: ({ text: string; type: "text"; label?: string | null | undefined; } | { code: string; type: "code"; label?: string | null | undefined; language?: string | null | undefined; } | { label: string; value: string; type: "key_value"; } | { type: "issue_link"; title?: string | null | undefined; label?: string | null | undefined; issueId?: string | null | undefined; identifier?: string | null | undefined; } | { type: "agent_link"; agentId: string; name?: string | null | undefined; label?: string | null | undefined; } | { type: "run_link"; runId: string; title?: string | null | undefined; label?: string | null | undefined; })[]; title?: string | null | undefined; }[]; sourceRunId?: string | null | undefined; } | null; authorUserId: string | null; authorType: "user" | "agent" | "system"; presentation: { title?: string | null | undefined; kind?: "message" | "system_notice" | undefined; tone?: "neutral" | "info" | "success" | "warning" | "danger" | undefined; detailsDefaultOpen?: boolean | undefined; } | null; authorAgentSlug: string | null; }[] | undefined; labelIds?: string[] | undefined; recurring?: boolean | undefined; }[] | undefined; skills?: { description: string | null; name: string; key: string; path: string; metadata: Record | null; slug: string; sourceType: string; sourceLocator: string | null; sourceRef: string | null; trustLevel: string | null; compatibility: string | null; fileInventory?: { kind: string; path: string; }[] | undefined; }[] | undefined; envInputs?: { description: string | null; key: string; kind: "plain" | "secret"; defaultValue: string | null; agentSlug: string | null; projectSlug: string | null; requirement: "optional" | "required"; portability: "portable" | "system_dependent"; }[] | undefined; }>; export declare const portabilitySourceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"inline">; rootPath: z.ZodNullable>; files: z.ZodRecord; data: z.ZodString; contentType: z.ZodNullable>; }, "strip", z.ZodTypeAny, { encoding: "base64"; data: string; contentType?: string | null | undefined; }, { encoding: "base64"; data: string; contentType?: string | null | undefined; }>]>>; }, "strip", z.ZodTypeAny, { type: "inline"; files: Record; rootPath?: string | null | undefined; }, { type: "inline"; files: Record; rootPath?: string | null | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"github">; url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; type: "github"; }, { url: string; type: "github"; }>]>; export declare const portabilityTargetSchema: z.ZodDiscriminatedUnion<"mode", [z.ZodObject<{ mode: z.ZodLiteral<"new_company">; newCompanyName: z.ZodNullable>; }, "strip", z.ZodTypeAny, { mode: "new_company"; newCompanyName?: string | null | undefined; }, { mode: "new_company"; newCompanyName?: string | null | undefined; }>, z.ZodObject<{ mode: z.ZodLiteral<"existing_company">; companyId: z.ZodString; }, "strip", z.ZodTypeAny, { companyId: string; mode: "existing_company"; }, { companyId: string; mode: "existing_company"; }>]>; export declare const portabilityAgentSelectionSchema: z.ZodUnion<[z.ZodLiteral<"all">, z.ZodArray]>; export declare const portabilityCollisionStrategySchema: z.ZodEnum<["rename", "skip", "replace"]>; export declare const companyPortabilityExportSchema: z.ZodObject<{ include: z.ZodOptional>; agents: z.ZodOptional>; projects: z.ZodOptional>; issues: z.ZodOptional>; skills: z.ZodOptional>; }, "strip", z.ZodTypeAny, { company?: boolean | undefined; projects?: boolean | undefined; agents?: boolean | undefined; issues?: boolean | undefined; skills?: boolean | undefined; }, { company?: boolean | undefined; projects?: boolean | undefined; agents?: boolean | undefined; issues?: boolean | undefined; skills?: boolean | undefined; }>>; agents: z.ZodOptional>; skills: z.ZodOptional>; projects: z.ZodOptional>; issues: z.ZodOptional>; projectIssues: z.ZodOptional>; selectedFiles: z.ZodOptional>; expandReferencedSkills: z.ZodOptional; sidebarOrder: z.ZodOptional>>; projects: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { projects?: string[] | undefined; agents?: string[] | undefined; }, { projects?: string[] | undefined; agents?: string[] | undefined; }>>; }, "strip", z.ZodTypeAny, { projects?: string[] | undefined; agents?: string[] | undefined; issues?: string[] | undefined; include?: { company?: boolean | undefined; projects?: boolean | undefined; agents?: boolean | undefined; issues?: boolean | undefined; skills?: boolean | undefined; } | undefined; skills?: string[] | undefined; projectIssues?: string[] | undefined; selectedFiles?: string[] | undefined; expandReferencedSkills?: boolean | undefined; sidebarOrder?: { projects?: string[] | undefined; agents?: string[] | undefined; } | undefined; }, { projects?: string[] | undefined; agents?: string[] | undefined; issues?: string[] | undefined; include?: { company?: boolean | undefined; projects?: boolean | undefined; agents?: boolean | undefined; issues?: boolean | undefined; skills?: boolean | undefined; } | undefined; skills?: string[] | undefined; projectIssues?: string[] | undefined; selectedFiles?: string[] | undefined; expandReferencedSkills?: boolean | undefined; sidebarOrder?: { projects?: string[] | undefined; agents?: string[] | undefined; } | undefined; }>; export type CompanyPortabilityExport = z.infer; export declare const companyPortabilityPreviewSchema: z.ZodObject<{ source: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"inline">; rootPath: z.ZodNullable>; files: z.ZodRecord; data: z.ZodString; contentType: z.ZodNullable>; }, "strip", z.ZodTypeAny, { encoding: "base64"; data: string; contentType?: string | null | undefined; }, { encoding: "base64"; data: string; contentType?: string | null | undefined; }>]>>; }, "strip", z.ZodTypeAny, { type: "inline"; files: Record; rootPath?: string | null | undefined; }, { type: "inline"; files: Record; rootPath?: string | null | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"github">; url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; type: "github"; }, { url: string; type: "github"; }>]>; include: z.ZodOptional>; agents: z.ZodOptional>; projects: z.ZodOptional>; issues: z.ZodOptional>; skills: z.ZodOptional>; }, "strip", z.ZodTypeAny, { company?: boolean | undefined; projects?: boolean | undefined; agents?: boolean | undefined; issues?: boolean | undefined; skills?: boolean | undefined; }, { company?: boolean | undefined; projects?: boolean | undefined; agents?: boolean | undefined; issues?: boolean | undefined; skills?: boolean | undefined; }>>; target: z.ZodDiscriminatedUnion<"mode", [z.ZodObject<{ mode: z.ZodLiteral<"new_company">; newCompanyName: z.ZodNullable>; }, "strip", z.ZodTypeAny, { mode: "new_company"; newCompanyName?: string | null | undefined; }, { mode: "new_company"; newCompanyName?: string | null | undefined; }>, z.ZodObject<{ mode: z.ZodLiteral<"existing_company">; companyId: z.ZodString; }, "strip", z.ZodTypeAny, { companyId: string; mode: "existing_company"; }, { companyId: string; mode: "existing_company"; }>]>; agents: z.ZodOptional, z.ZodArray]>>; collisionStrategy: z.ZodOptional>; nameOverrides: z.ZodOptional>; selectedFiles: z.ZodOptional>; }, "strip", z.ZodTypeAny, { target: { mode: "new_company"; newCompanyName?: string | null | undefined; } | { companyId: string; mode: "existing_company"; }; source: { type: "inline"; files: Record; rootPath?: string | null | undefined; } | { url: string; type: "github"; }; agents?: string[] | "all" | undefined; include?: { company?: boolean | undefined; projects?: boolean | undefined; agents?: boolean | undefined; issues?: boolean | undefined; skills?: boolean | undefined; } | undefined; selectedFiles?: string[] | undefined; collisionStrategy?: "rename" | "skip" | "replace" | undefined; nameOverrides?: Record | undefined; }, { target: { mode: "new_company"; newCompanyName?: string | null | undefined; } | { companyId: string; mode: "existing_company"; }; source: { type: "inline"; files: Record; rootPath?: string | null | undefined; } | { url: string; type: "github"; }; agents?: string[] | "all" | undefined; include?: { company?: boolean | undefined; projects?: boolean | undefined; agents?: boolean | undefined; issues?: boolean | undefined; skills?: boolean | undefined; } | undefined; selectedFiles?: string[] | undefined; collisionStrategy?: "rename" | "skip" | "replace" | undefined; nameOverrides?: Record | undefined; }>; export type CompanyPortabilityPreview = z.infer; export declare const portabilityAdapterOverrideSchema: z.ZodObject<{ adapterType: z.ZodString; adapterConfig: z.ZodOptional>; }, "strip", z.ZodTypeAny, { adapterType: string; adapterConfig?: Record | undefined; }, { adapterType: string; adapterConfig?: Record | undefined; }>; export declare const companyPortabilityImportSchema: z.ZodObject<{ source: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"inline">; rootPath: z.ZodNullable>; files: z.ZodRecord; data: z.ZodString; contentType: z.ZodNullable>; }, "strip", z.ZodTypeAny, { encoding: "base64"; data: string; contentType?: string | null | undefined; }, { encoding: "base64"; data: string; contentType?: string | null | undefined; }>]>>; }, "strip", z.ZodTypeAny, { type: "inline"; files: Record; rootPath?: string | null | undefined; }, { type: "inline"; files: Record; rootPath?: string | null | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"github">; url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; type: "github"; }, { url: string; type: "github"; }>]>; include: z.ZodOptional>; agents: z.ZodOptional>; projects: z.ZodOptional>; issues: z.ZodOptional>; skills: z.ZodOptional>; }, "strip", z.ZodTypeAny, { company?: boolean | undefined; projects?: boolean | undefined; agents?: boolean | undefined; issues?: boolean | undefined; skills?: boolean | undefined; }, { company?: boolean | undefined; projects?: boolean | undefined; agents?: boolean | undefined; issues?: boolean | undefined; skills?: boolean | undefined; }>>; target: z.ZodDiscriminatedUnion<"mode", [z.ZodObject<{ mode: z.ZodLiteral<"new_company">; newCompanyName: z.ZodNullable>; }, "strip", z.ZodTypeAny, { mode: "new_company"; newCompanyName?: string | null | undefined; }, { mode: "new_company"; newCompanyName?: string | null | undefined; }>, z.ZodObject<{ mode: z.ZodLiteral<"existing_company">; companyId: z.ZodString; }, "strip", z.ZodTypeAny, { companyId: string; mode: "existing_company"; }, { companyId: string; mode: "existing_company"; }>]>; agents: z.ZodOptional, z.ZodArray]>>; collisionStrategy: z.ZodOptional>; nameOverrides: z.ZodOptional>; selectedFiles: z.ZodOptional>; } & { adapterOverrides: z.ZodOptional>; }, "strip", z.ZodTypeAny, { adapterType: string; adapterConfig?: Record | undefined; }, { adapterType: string; adapterConfig?: Record | undefined; }>>>; secretValues: z.ZodOptional>; }, "strip", z.ZodTypeAny, { target: { mode: "new_company"; newCompanyName?: string | null | undefined; } | { companyId: string; mode: "existing_company"; }; source: { type: "inline"; files: Record; rootPath?: string | null | undefined; } | { url: string; type: "github"; }; agents?: string[] | "all" | undefined; include?: { company?: boolean | undefined; projects?: boolean | undefined; agents?: boolean | undefined; issues?: boolean | undefined; skills?: boolean | undefined; } | undefined; adapterOverrides?: Record | undefined; }> | undefined; secretValues?: Record | undefined; selectedFiles?: string[] | undefined; collisionStrategy?: "rename" | "skip" | "replace" | undefined; nameOverrides?: Record | undefined; }, { target: { mode: "new_company"; newCompanyName?: string | null | undefined; } | { companyId: string; mode: "existing_company"; }; source: { type: "inline"; files: Record; rootPath?: string | null | undefined; } | { url: string; type: "github"; }; agents?: string[] | "all" | undefined; include?: { company?: boolean | undefined; projects?: boolean | undefined; agents?: boolean | undefined; issues?: boolean | undefined; skills?: boolean | undefined; } | undefined; adapterOverrides?: Record | undefined; }> | undefined; secretValues?: Record | undefined; selectedFiles?: string[] | undefined; collisionStrategy?: "rename" | "skip" | "replace" | undefined; nameOverrides?: Record | undefined; }>; export type CompanyPortabilityImport = z.infer; //# sourceMappingURL=company-portability.d.ts.map