import { Command } from "./Command";
export type ICommandHandler<CommandType extends Command<unknown>> = CommandType extends Command<infer ResultType> ? {
    execute(command: CommandType): Promise<ResultType>;
} : never;
