import { TokenData } from "./token-data";

/**
 * Represents a command that can be executed on a DataItem
 */
export declare interface CommandModel {
    /**
     * The title of the command
     */
    title: string;

    /**
     * The category of the command
     */
    category: string;

    /**
     * The name of the command
     */
    name: string;

    /**
     * The ordinal number of the command
     */
    ordinal: number;

    /**
     * A custom token for invoking a service to handle the command
     */
    token?: TokenData;
}
