export interface CommandStructure { readonly parameter: ParameterType; readonly return: ReturnType; } export declare type CommandStructureParameterType = C extends CommandStructure ? P : never; export declare type CommandStructureReturnType = C extends CommandStructure ? R : never;