/** * 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. */ export type TranslationScope = 'all' | 'builtIn' | 'custom'; export type LocalizationTextRecord = { id: string | number; text: string; module?: string; translation?: string; translationId?: string | number; }; type BuildFindTextsOptions = { app: any; mode: string; locale: string; scope: TranslationScope; textIds?: Array; fields?: string[]; sort?: string[]; }; export declare const normalizeTextRecord: (row: any) => LocalizationTextRecord | undefined; export declare const getModuleName: (row: LocalizationTextRecord) => string; export declare const normalizeModuleName: (module: string) => string; export declare const isBuiltInText: (row: LocalizationTextRecord, resources: Record>) => boolean; export declare const buildFindTextsOptions: (options: BuildFindTextsOptions) => Promise; export {};