import React from 'react'; import { OrchestrationTypes } from '@/pages/App/Setting/Orchestration/SelectTypes'; import { AppBuiltInOrchestration, AppOrchestrationCreateRequest, Application, Label, PaginationOrchestrationLabeledRevision, TripleAppOrchestrationDiffVOAppOrchestrationDiffVOListDiffItemString, UpdateAppOrchestrationRequest } from '@/api'; import { AppOrchestration } from '@/types'; export interface OrchestrationViewProps { selectTitle: React.ReactNode; disabled?: boolean; disabledExport?: boolean; disabledExportReason?: string; disabledReason?: string; hideRevision?: boolean; hasExport?: boolean; relateApps?: Application[]; type: keyof typeof OrchestrationTypes; orchestrationMap: Record; orchestrationSelectTypes?: string[]; orchestrationLoading?: boolean; functionPoints: string[]; contentPadding?: boolean; operations?: React.ReactNode; enableTemplate: boolean; enableLabels: boolean; enableVersion: boolean; fetchRevisions: (params: { pageSize: number; current: number; sn: string; }) => Promise; fetchRevision: (params: { sha: string; sn: string; }) => Promise; compareOrchestration: ({ sn, fromSha, toSha, }: { sn: string; fromSha: string; toSha: string; }) => Promise; onChangeType?: (params: { key: string; operate?: string; }) => void; onChangeTypes?: (type: string[]) => void; onLabelsChange: ({ labels, sha, sn, }: { labels: Label[]; sha: string; sn?: string; }) => Promise; createOrchestration: (req: AppOrchestrationCreateRequest & { type: string; }) => Promise; updateOrchestration: (req: UpdateAppOrchestrationRequest & { type: string; }) => Promise; deleteOrchestrationType: (type: string) => void; } declare const OrchestrationView: React.FC; export default OrchestrationView;