/** * 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 { ReactNode } from 'react'; type TOptions = Record; type TFunction = (key: string, options?: TOptions) => string; export declare function getLegacyTemplateKey(value: ReactNode): string; export declare function compileLegacyTemplate(value: ReactNode, t: TFunction): ReactNode; export declare function preferLegacyTemplateTitle(value: ReactNode, templateTitle?: ReactNode): ReactNode; export declare function compileLegacyTemplateText(value: ReactNode, t: TFunction, fallback?: string): string; export {};