/** * This file is part of the NocoBase (R) project. * Copyright (c) 2020-2024 NocoBase Co., Ltd. * Authors: NocoBase Team. * * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License. * For more information, please refer to: https://www.nocobase.com/agreement. */ import type { FlowSurfaceApplyBlueprintDocument } from './public-types'; export type FlowSurfaceExportBlueprintUnsupportedPolicy = 'error' | 'warn'; export type FlowSurfaceExportBlueprintUnsupportedItem = { kind: 'page' | 'tab' | 'block' | 'field' | 'action' | 'recordAction' | 'reaction' | 'layout' | 'popup'; use?: string; type?: string; path: string; reasonCode: string; manualAction: string; }; export type FlowSurfaceExportBlueprintResult = { document: FlowSurfaceApplyBlueprintDocument; source: { target: { pageSchemaUid: string; }; pageTitle?: string; }; warnings: string[]; unsupported: FlowSurfaceExportBlueprintUnsupportedItem[]; }; type FlowSurfaceExportNode = Record & { uid?: string; use?: string; props?: Record; decoratorProps?: Record; stepParams?: Record; flowRegistry?: Record; template?: Record; fieldsTemplate?: Record; popup?: Record; subModels?: Record; }; export declare function exportFlowSurfaceBlueprintDocument(input: { page: FlowSurfaceExportNode; pageRoute?: Record; target: { pageSchemaUid: string; }; unsupportedPolicy?: FlowSurfaceExportBlueprintUnsupportedPolicy; }): FlowSurfaceExportBlueprintResult; export {};