intentful
Version:
Create Custom Skills with less headache
22 lines (21 loc) • 926 B
TypeScript
import { Command, CommandModel, CommandProps } from './command';
import { LabeledRequestHandler } from '../../skill/models';
import { Calculable } from '../../types';
import { ScrollAlignment, HighlightMode } from '../interfaces';
export interface SpeakItemCommandModel extends CommandModel {
align?: Calculable<ScrollAlignment>;
componentId?: string;
highlightMode?: Calculable<HighlightMode>;
minimumDwellTime?: Calculable<number>;
}
export interface SpeakItemCommandProps extends CommandProps {
align?: ScrollAlignment;
componentId?: string;
highlightMode?: Calculable<HighlightMode>;
minimumDwellTime?: Calculable<number>;
}
export declare class SpeakItemCommand extends Command<SpeakItemCommandModel, SpeakItemCommandProps> {
constructor(props: SpeakItemCommandProps);
commandSpecificModel(): SpeakItemCommandModel;
commandSpecificRequestHandlers(): LabeledRequestHandler[];
}