/** * 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 { RunJsAuthoringContext } from '../internal-types'; import type { RunJsAuthoringInspectionInput, RunJsAuthoringSurfaceStyle } from '../types'; export declare function resolveFieldModelUse(type: string, renderer: string, blockType: string): "" | "JSFieldModel" | "JSEditableFieldModel" | "JSColumnModel" | "JSItemModel"; export declare function resolveActionModelUse(actionType: string, blockType: string, slot: 'actions' | 'recordActions'): "" | "JSCollectionActionModel" | "JSRecordActionModel" | "JSFormActionModel" | "JSItemActionModel" | "FilterFormJSActionModel" | "JSActionModel"; export declare function resolveConfigureModelUse(currentNode: any): string; export declare function resolveConfigureBlockType(context: RunJsAuthoringContext): string; export declare function resolvePublicBlockType(value: any): string; export declare function resolveSurfaceStyle(input: RunJsAuthoringInspectionInput): RunJsAuthoringSurfaceStyle | undefined; export declare function resolveModelSurfaceStyle(modelUse: any): RunJsAuthoringSurfaceStyle | undefined; export declare function normalizeActionType(value: any): string; export declare function normalizeText(value: any): string;