UNPKG

intentful

Version:

Create Custom Skills with less headache

17 lines (16 loc) 714 B
import { Command, CommandModel, CommandProps } from './command'; import { LabeledRequestHandler } from '../../skill/models'; import { Calculable } from '../../types'; export interface OpenURLCommandModel extends CommandModel { source: Calculable<string>; onFail?: Command<CommandModel, CommandProps>[]; } export interface OpenURLCommandProps extends CommandProps { source: Calculable<string>; onFail?: Command<CommandModel, CommandProps>[]; } export declare class OpenURLCommand extends Command<OpenURLCommandModel, OpenURLCommandProps> { constructor(props: OpenURLCommandProps); commandSpecificModel(): OpenURLCommandModel; commandSpecificRequestHandlers(): LabeledRequestHandler[]; }