import { ICommand } from '../interfaces'; import { RESULT_TYPE_SYMBOL } from './constants'; /** * Utility type to extract the result type of a command. */ export type CommandResult> = C extends Command ? R : never; export declare class Command implements ICommand { readonly [RESULT_TYPE_SYMBOL]: T; }