/**
 * 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<string, unknown> & {
    uid?: string;
    use?: string;
    props?: Record<string, unknown>;
    decoratorProps?: Record<string, unknown>;
    stepParams?: Record<string, unknown>;
    flowRegistry?: Record<string, unknown>;
    template?: Record<string, unknown>;
    fieldsTemplate?: Record<string, unknown>;
    popup?: Record<string, unknown>;
    subModels?: Record<string, unknown>;
};
export declare function exportFlowSurfaceBlueprintDocument(input: {
    page: FlowSurfaceExportNode;
    pageRoute?: Record<string, unknown>;
    target: {
        pageSchemaUid: string;
    };
    unsupportedPolicy?: FlowSurfaceExportBlueprintUnsupportedPolicy;
}): FlowSurfaceExportBlueprintResult;
export {};
