import { EncodeRuleElement } from './decorators'; import { Provider } from '@notadd/core'; export declare class StringEncodeRuleElement implements EncodeRuleElement { constructor(); title: string; format: string; handler(): Promise; } export declare class SplitEncodeRuleElement implements EncodeRuleElement { title: string; format: string; items: string[]; handler(): Promise; } export declare class RandomStringEncodeRuleElement implements EncodeRuleElement { title: string; length: number; handler(): Promise; } export declare class RandomNumberEncodeRuleElement implements EncodeRuleElement { title: string; length: number; handler(): Promise; } export declare class DateEncodeRuleElement implements EncodeRuleElement { title: string; format: string; items: { title: string; value: string; }[]; handler(): Promise; } export declare class TimeEncodeRuleElement implements EncodeRuleElement { title: string; /** * 是否带毫秒 */ isMillisecond: boolean; handler(): Promise; } export declare class UuidEncodeRuleElement implements EncodeRuleElement { constructor(); title: string; length: number; handler(): Promise; } export declare class PropertyEncodeRuleElement implements EncodeRuleElement { title: string; /** * 初始流水号 */ property: string; handler(instance: any): Promise; } export declare const encodeRuleElements: Provider[];