import { Session } from './session/session'; export declare type ExtraProperties = { [P in keyof T]?: any; }; /** * Entidade do sistema com metadados. */ export declare class Entity { _id: string; _created_at: string; _updated_at: string; _id_cliente: string; _id_empresa: string; _sync: boolean; _sync_local: boolean; _last_sync: string; _first_sync: string; _deleted: boolean; extra_properties?: { [property: string]: ExtraProperties; }; additional_properties?: { [property: string]: ExtraProperties; }; constructor(json?: any, generateId?: boolean, overwriteFromExtraProperties?: boolean); getId(): string; update(): this; sign(session: Session): this; toJson(): any; }