import { Modifier } from "./common"; type AutoDateType = "created" | "updated"; type Options = { /** Timestamp behavior: `created` is only set on insert, `updated` is refreshed on every update */ type: AutoDateType; }; /** * Auto-date modifier. Enables the use of {@link CreationTime} and * {@link UpdateTime} on table fields. * * This is an event-only modifier: it does not transform stored values and * does not require the Table class to incorporate a mixin. */ export declare class AutoDateModifier extends Modifier { insert(object: Record, field: string): void; update(object: Record, field: string): void; } /** * Mark a Database Table class field as an automatic creation timestamp. * * The field is set to the current date on insert and removed from update * payloads so the original creation date is preserved. */ export declare const CreationTime: () => import("@antelopejs/interface-core/decorators").PropertyDecorator; /** * Mark a Database Table class field as an automatic update timestamp. * * The field is set to the current date on insert and refreshed on every * update. */ export declare const UpdateTime: () => import("@antelopejs/interface-core/decorators").PropertyDecorator; export {};