/** * 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 { FlowSurfaceApplyBlueprintAssetMap } from './public-types'; export declare function assertPlainObject(value: any, context: string): void; export declare function assertOnlyAllowedKeys(input: Record, context: string, allowedKeys: string[]): void; export declare function normalizeApplyBlueprintToken(value: any, fallback?: string): string; export declare function readString(value: any): string; export declare function readOptionalString(value: any): string; export declare function readBoolean(value: any, context: string): boolean; export declare function assertNonEmptyString(value: any, context: string): string; export declare function readOptionalArray(value: any, context: string): T[] | undefined; export declare function cloneOptionalPlainObject>(value: any, context: string): T | undefined; export declare function buildApplyBlueprintTabPublicPath(index: number): string; export declare function buildScopedKey(scopePrefix: string, localKey: string): string; export declare function normalizeBlueprintLocalKey(rawValue: any, fallback: string, context: string): string; export declare function normalizeTabLocalKey(rawKey: any, fallback: string, index: number, usedKeys: Set, options: { explicit: boolean; }): string; export declare function normalizeAssetRegistry(input: any, context: string): FlowSurfaceApplyBlueprintAssetMap;