import type { ITranslationDecoratorInterface } from '../interfaces'; export declare const STATIC_TRANSLATION_DECORATOR_KEY = "custom:static-translate"; export declare const DYNAMIC_TRANSLATION_DECORATOR_KEY = "custom:dynamic-translate"; /** * 静态翻译装饰器 * 用于标记 DTO 字段需要进行翻译 * * @example * ```typescript * class UserDto { * @StaticTranslate({ translationKey: 'user.status' }) * status: string; * } * ``` * * @param data 翻译配置选项 */ export declare function StaticTranslate(data?: ITranslationDecoratorInterface): PropertyDecorator; /** * 动态翻译装饰器 * 用于标记 DTO 字段需要动态翻译(从数据库获取翻译值) * * @example * ```typescript * class ProductDto { * @DynamicTranslate() * name: string; * } * ``` */ export declare function DynamicTranslate(): PropertyDecorator;