@corux/ask-extensions
Version:
Extensions to improve development with Alexa Skills Kit SDK
11 lines (10 loc) • 406 B
TypeScript
import { HandlerInput, RequestInterceptor } from "ask-sdk-core";
/**
* Configures i18next and add the translation function to the handler input and request attributes.
*/
export declare class LocalizationInterceptor implements RequestInterceptor {
private readonly loadPath;
constructor(loadPath?: string);
process(handlerInput: HandlerInput): Promise<void>;
private randomTranslation;
}