import { Aggregate } from './Aggregate';
import { Command, CommandHandler } from './Aggregate.interfaces';
export declare class DefaultCommandHandler<State extends object = object> implements CommandHandler<State> {
    handle(aggregate: Aggregate<State>, command: Command): Aggregate<State>;
    _extractKey(type: string): string;
}
