/** * Memoize un appel d'un get(). À n'utiliser que sur des properties calculées, * pas sur des propriétés d'une classe. * * @param target The class instance * @param key The property name * @param descriptor The property descriptor */ export declare function memoize(target: any, key: string, descriptor: PropertyDescriptor): void; export declare const auto_makers: Map string>; export declare function tpljoin(s: TemplateStringsArray | string, a: any[]): string; export declare class Mutation { identifier: string; children: Set; parents: Set; statements: string[]; undo: string[]; hash_lock: string; constructor(identifier: string); static mutationsWithout(mutations: Set, removal: Set): Set; lock(lock: string): this; get hash(): string; static derive(this: { new (id: string): M; }, identifier: string, ...parents: Mutation[]): M; depends(parents: Mutation[]): void; auto(str: TemplateStringsArray | string, ...a: any[]): this; up(str: TemplateStringsArray | string, ...a: any[]): this; comment(str: TemplateStringsArray | string, ...a: any[]): this; down(str: TemplateStringsArray | string, ...a: any[]): { up(str: string | TemplateStringsArray, ...a: any[]): M; }; } export declare const schema = "\"dmut\""; export declare const table = "\"mutations\""; export declare const tbl: string; /** * Dmut mutations are always the first, since they create the table the mutations * will be stored in. */ export declare const DmutBaseMutation: Mutation; export declare const DmutComments: Mutation;