import { Aggregate } from './Aggregate';
export interface AggregateFactory<T extends Aggregate> {
    (id: string): T;
}
export interface AggregateFactoryCreator<T extends Aggregate> {
    (): AggregateFactory<T>;
}
export declare function DefaultFactory<T extends Aggregate = Aggregate>(aggregateType?: string): AggregateFactory<T>;
