UNPKG

intentful

Version:

Create Custom Skills with less headache

26 lines (25 loc) 1.06 kB
import { Command, CommandModel, CommandProps } from './command'; import { LabeledRequestHandler } from '../../skill/models'; import { Calculable } from '../../types'; import { ScrollAlignment, HighlightMode } from '../interfaces'; export interface SpeakListCommandModel extends CommandModel { align?: Calculable<ScrollAlignment>; componentId?: string; highlightMode?: Calculable<HighlightMode>; minimumDwellTime?: Calculable<number>; count: Calculable<number>; start: Calculable<number>; } export interface SpeakListCommandProps extends CommandProps { align?: Calculable<ScrollAlignment>; componentId?: string; highlightMode?: Calculable<HighlightMode>; minimumDwellTime?: Calculable<number>; count: Calculable<number>; start: Calculable<number>; } export declare class SpeakListCommand extends Command<SpeakListCommandModel, SpeakListCommandProps> { constructor(props: SpeakListCommandProps); commandSpecificModel(): SpeakListCommandModel; commandSpecificRequestHandlers(): LabeledRequestHandler[]; }