import { Query } from './Query';
export type IQueryHandler<QueryType extends Query<unknown>> = QueryType extends Query<infer ResultType> ? {
    execute(query: QueryType): Promise<ResultType>;
} : never;
