import { EntitySubscriberInterface, InsertEvent, UpdateEvent } from 'typeorm';
import { HistoryEntitySubscriber } from '@operato/typeorm-history';
import { Process } from './process';
import { ProcessHistory } from './process-history';
export declare class ProcessSubscriber implements EntitySubscriberInterface<Process> {
    listenTo(): typeof Process;
    afterInsert(event: InsertEvent<Process>): Promise<any>;
    afterUpdate(event: UpdateEvent<Process>): Promise<any>;
}
export declare class ProcessHistoryEntitySubscriber extends HistoryEntitySubscriber<Process, ProcessHistory> {
    get entity(): typeof Process;
    get historyEntity(): typeof ProcessHistory;
    afterInsert(event: InsertEvent<Process>): Promise<void>;
    afterUpdate(event: UpdateEvent<Process>): Promise<void>;
}
