UNPKG

@corux/ask-extensions

Version:

Extensions to improve development with Alexa Skills Kit SDK

15 lines (14 loc) 580 B
import { HandlerInput, RequestHandler } from "ask-sdk-core"; import { Response } from "ask-sdk-model"; import { IExtendedHandlerInput } from "./ExtendedHandlerInput"; /** * RequestHandler with canHandle implemented by decorators. */ export declare abstract class BaseRequestHandler implements RequestHandler { private readonly types; private readonly intents; private readonly isFallback; canHandle(handlerInput: HandlerInput): boolean; abstract handle(handlerInput: IExtendedHandlerInput): Promise<Response> | Response; private canHandleByDecorators; }