/**
 * 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.
 */
type FlowSurfaceSchemaRef = (name: string) => {
    $ref: string;
};
export declare function createFlowSurfaceTemplateSchemas(options: {
    ref: FlowSurfaceSchemaRef;
    stringOrIntegerSchema: Record<string, any>;
    actionTypeEnum: string[];
}): {
    FlowSurfaceTemplateRow: {
        type: string;
        required: string[];
        properties: {
            uid: {
                type: string;
            };
            name: {
                type: string;
            };
            description: {
                type: string;
            };
            type: {
                type: string;
                enum: string[];
            };
            targetUid: {
                type: string;
            };
            useModel: {
                type: string;
            };
            dataSourceKey: {
                type: string;
            };
            collectionName: {
                type: string;
            };
            associationName: {
                type: string;
            };
            filterByTk: Record<string, any>;
            sourceId: Record<string, any>;
            usageCount: {
                type: string;
            };
            available: {
                type: string;
            };
            disabledReason: {
                type: string;
            };
        };
        additionalProperties: boolean;
    };
    FlowSurfaceListTemplatesRequest: {
        type: string;
        properties: {
            target: {
                $ref: string;
            };
            type: {
                type: string;
                enum: string[];
            };
            usage: {
                type: string;
                enum: string[];
            };
            actionType: {
                type: string;
                enum: string[];
            };
            actionScope: {
                type: string;
                enum: string[];
            };
            search: {
                type: string;
            };
            filter: {
                type: string;
                additionalProperties: boolean;
            };
            sort: {
                oneOf: ({
                    type: string;
                    items?: undefined;
                } | {
                    type: string;
                    items: {
                        type: string;
                    };
                })[];
            };
            page: {
                type: string;
                minimum: number;
            };
            pageSize: {
                type: string;
                minimum: number;
            };
        };
        additionalProperties: boolean;
    };
    FlowSurfaceListTemplatesResult: {
        type: string;
        required: string[];
        properties: {
            rows: {
                type: string;
                items: {
                    $ref: string;
                };
            };
            count: {
                type: string;
            };
            page: {
                type: string;
            };
            pageSize: {
                type: string;
            };
            totalPage: {
                type: string;
            };
        };
        additionalProperties: boolean;
    };
    FlowSurfaceGetTemplateRequest: {
        type: string;
        required: string[];
        properties: {
            uid: {
                type: string;
            };
        };
        additionalProperties: boolean;
    };
    FlowSurfaceSaveTemplateRequest: {
        type: string;
        required: string[];
        properties: {
            target: {
                $ref: string;
            };
            uid: {
                type: string;
            };
            name: {
                type: string;
            };
            description: {
                type: string;
            };
            saveMode: {
                type: string;
                enum: string[];
                default: string;
            };
        };
        additionalProperties: boolean;
    };
    FlowSurfaceUpdateTemplateRequest: {
        type: string;
        required: string[];
        properties: {
            uid: {
                type: string;
            };
            name: {
                type: string;
            };
            description: {
                type: string;
            };
        };
        additionalProperties: boolean;
    };
    FlowSurfaceDestroyTemplateRequest: {
        type: string;
        required: string[];
        properties: {
            uid: {
                type: string;
            };
        };
        additionalProperties: boolean;
    };
    FlowSurfaceDestroyTemplateResult: {
        type: string;
        properties: {
            uid: {
                type: string;
            };
        };
        additionalProperties: boolean;
    };
    FlowSurfaceConvertTemplateToCopyRequest: {
        type: string;
        required: string[];
        properties: {
            target: {
                $ref: string;
            };
        };
        additionalProperties: boolean;
    };
    FlowSurfaceConvertTemplateToCopyResult: {
        type: string;
        required: string[];
        properties: {
            uid: {
                type: string;
            };
            type: {
                type: string;
                enum: string[];
            };
            gridUid: {
                type: string;
            };
            popupUid: {
                type: string;
            };
        };
        additionalProperties: boolean;
    };
};
export {};
