1 | import { interfaces } from 'ask-sdk-model';
|
2 | import TextContent = interfaces.display.TextContent;
|
3 | /**
|
4 | * An abstract class responsible for building text content object using ask-sdk-model in Alexa skills kit display interface
|
5 | * https://developer.amazon.com/docs/custom-skills/display-interface-reference.html#textcontent-object-specifications.
|
6 | */
|
7 | export declare abstract class TextContentHelper {
|
8 | protected primaryText: string;
|
9 | protected secondaryText: string;
|
10 | protected tertiaryText: string;
|
11 | /**
|
12 | * @param {string} primaryText
|
13 | * @returns {this}
|
14 | */
|
15 | withPrimaryText(primaryText: string): this;
|
16 | /**
|
17 | * @param {string} secondaryText
|
18 | * @returns {this}
|
19 | */
|
20 | withSecondaryText(secondaryText: string): this;
|
21 | /**
|
22 | * @param {string} tertiaryText
|
23 | * @returns {this}
|
24 | */
|
25 | withTertiaryText(tertiaryText: string): this;
|
26 | /**
|
27 | * @returns {interfaces.display.TextContent}
|
28 | */
|
29 | abstract getTextContent(): TextContent;
|
30 | }
|