import { RequestContextService } from "../services/request-context.service";
import { DataSource, EntitySubscriberInterface, InsertEvent, UpdateEvent } from "typeorm";
export declare class CreatedByUpdatedBySubscriber implements EntitySubscriberInterface {
    private readonly defaultDataSource;
    private readonly requestContextService;
    private dataSource;
    constructor(defaultDataSource: DataSource, requestContextService: RequestContextService);
    bindToDataSource(dataSource: DataSource): void;
    beforeInsert(event: InsertEvent<any>): Promise<void>;
    beforeUpdate(event: UpdateEvent<any>): Promise<void>;
    private stampUserField;
}
//# sourceMappingURL=created-by-updated-by.subscriber.d.ts.map