///
///
import IConvention = NajsEloquent.QueryBuilder.IConvention;
import Model = NajsEloquent.Model.IModel;
import { Record } from './Record';
import { ExecutorBase } from './ExecutorBase';
export declare abstract class RecordExecutorBase extends ExecutorBase implements NajsEloquent.Feature.IRecordExecutor {
protected model: NajsEloquent.Model.IModel;
protected record: Record;
protected convention: IConvention;
constructor(model: Model, record: Record, convention: IConvention);
abstract createRecord(action: string): Promise;
abstract updateRecord(action: string): Promise;
abstract hardDeleteRecord(): Promise;
fillData(isCreate: boolean): void;
fillTimestampsData(isCreate: boolean): void;
fillSoftDeletesData(): void;
setAttributeIfNeeded(attribute: string, value: any): void;
create(shouldFillData?: boolean, action?: string): Promise;
update(shouldFillData?: boolean, action?: string): Promise;
softDelete(): Promise;
hardDelete(): Promise;
restore(): Promise;
hasPrimaryKey(): boolean;
hasModifiedData(): boolean;
}