import { CreationOptional, DataTypes, InferAttributes, InferCreationAttributes } from 'sequelize'; import { TenantModel } from '../tenant-model'; import type { EventType } from './types'; export declare class Event extends TenantModel, InferCreationAttributes> { id: CreationOptional; livemode: boolean; instance_did?: string; type: EventType; api_version: string; data: Record; object_type: string; object_id: string; request: { id: string; idempotency_key: string; requested_by?: string; }; pending_webhooks: number; metadata: Record; created_at: CreationOptional; updated_at: CreationOptional; static readonly GENESIS_ATTRIBUTES: { id: { type: DataTypes.StringDataType; primaryKey: boolean; allowNull: boolean; defaultValue: (size?: number) => string; }; livemode: { type: DataTypes.AbstractDataTypeConstructor; allowNull: boolean; }; type: { type: DataTypes.StringDataType; allowNull: boolean; }; api_version: { type: DataTypes.StringDataType; allowNull: boolean; }; object_type: { type: DataTypes.StringDataType; allowNull: boolean; }; object_id: { type: DataTypes.StringDataType; allowNull: boolean; }; data: { type: DataTypes.AbstractDataTypeConstructor; allowNull: boolean; }; request: { type: DataTypes.AbstractDataTypeConstructor; allowNull: boolean; }; pending_webhooks: { type: DataTypes.NumberDataTypeConstructor; allowNull: boolean; }; metadata: { type: DataTypes.AbstractDataTypeConstructor; allowNull: boolean; }; created_at: { type: DataTypes.DateDataTypeConstructor; defaultValue: DataTypes.AbstractDataTypeConstructor; allowNull: boolean; }; updated_at: { type: DataTypes.DateDataTypeConstructor; defaultValue: DataTypes.AbstractDataTypeConstructor; allowNull: boolean; }; }; static initialize(sequelize: any): void; static associate(models: any): void; } export type TEvent = InferAttributes;