UNPKG

627 BTypeScriptView Raw
1import { Directive, Response, Slot } from 'ask-sdk-model';
2import { CustomSkillRequestHandler as RequestHandler } from '../dispatcher/request/handler/CustomSkillRequestHandler';
3import { HandlerInput } from '../dispatcher/request/handler/HandlerInput';
4export declare abstract class ComponentInterface {
5 static launch: (options?: {
6 slots?: {
7 [key: string]: Slot;
8 };
9 isUserUtteranceInput?: boolean;
10 }) => Directive;
11 static egress: (egressInput: {
12 intentName?: string;
13 callBack?: ((input: HandlerInput) => Response | Promise<Response>);
14 }) => RequestHandler;
15}