import * as core from "@terrascript/core"; export interface MessageArgs extends core.SchemaArgs { content: string | core.StringOut; contentType: string | core.StringOut; groupNumber?: number | core.NumberOut; } export declare class Message extends core.Schema { content: string | core.StringOut; contentType: string | core.StringOut; groupNumber?: number | core.NumberOut; } export interface PromptArgs extends core.SchemaArgs { maxAttempts: number | core.NumberOut; message: core.Array | core.ArrayOut; responseCard?: string | core.StringOut; } export declare class Prompt extends core.Schema { maxAttempts: number | core.NumberOut; message: core.Array | core.ArrayOut; responseCard?: string | core.StringOut; } export interface RejectionStatementArgs extends core.SchemaArgs { message: core.Array | core.ArrayOut; responseCard?: string | core.StringOut; } export declare class RejectionStatement extends core.Schema { message: core.Array | core.ArrayOut; responseCard?: string | core.StringOut; } export interface FollowUpPromptArgs extends core.SchemaArgs { prompt: Prompt; rejectionStatement: RejectionStatement; } export declare class FollowUpPrompt extends core.Schema { prompt: Prompt; rejectionStatement: RejectionStatement; } export interface ValueElicitationPromptArgs extends core.SchemaArgs { maxAttempts: number | core.NumberOut; message: core.Array | core.ArrayOut; responseCard?: string | core.StringOut; } export declare class ValueElicitationPrompt extends core.Schema { maxAttempts: number | core.NumberOut; message: core.Array | core.ArrayOut; responseCard?: string | core.StringOut; } export interface SlotArgs extends core.SchemaArgs { description?: string | core.StringOut; name: string | core.StringOut; priority?: number | core.NumberOut; responseCard?: string | core.StringOut; sampleUtterances?: core.Array | core.ArrayOut; slotConstraint: string | core.StringOut; slotType: string | core.StringOut; slotTypeVersion?: string | core.StringOut; valueElicitationPrompt?: ValueElicitationPrompt; } export declare class Slot extends core.Schema { description?: string | core.StringOut; name: string | core.StringOut; priority?: number | core.NumberOut; responseCard?: string | core.StringOut; sampleUtterances?: core.Array | core.ArrayOut; slotConstraint: string | core.StringOut; slotType: string | core.StringOut; slotTypeVersion?: string | core.StringOut; valueElicitationPrompt?: ValueElicitationPrompt; } export interface ConclusionStatementArgs extends core.SchemaArgs { message: core.Array | core.ArrayOut; responseCard?: string | core.StringOut; } export declare class ConclusionStatement extends core.Schema { message: core.Array | core.ArrayOut; responseCard?: string | core.StringOut; } export interface DialogCodeHookArgs extends core.SchemaArgs { messageVersion: string | core.StringOut; uri: string | core.StringOut; } export declare class DialogCodeHook extends core.Schema { messageVersion: string | core.StringOut; uri: string | core.StringOut; } export interface ConfirmationPromptArgs extends core.SchemaArgs { maxAttempts: number | core.NumberOut; message: core.Array | core.ArrayOut; responseCard?: string | core.StringOut; } export declare class ConfirmationPrompt extends core.Schema { maxAttempts: number | core.NumberOut; message: core.Array | core.ArrayOut; responseCard?: string | core.StringOut; } export interface CodeHookArgs extends core.SchemaArgs { messageVersion: string | core.StringOut; uri: string | core.StringOut; } export declare class CodeHook extends core.Schema { messageVersion: string | core.StringOut; uri: string | core.StringOut; } export interface FulfillmentActivityArgs extends core.SchemaArgs { codeHook?: CodeHook; type: string | core.StringOut; } export declare class FulfillmentActivity extends core.Schema { codeHook?: CodeHook; type: string | core.StringOut; } export interface IntentArgs extends core.ResourceArgs { /** * (Optional) The statement that you want Amazon Lex to convey to the user */ conclusionStatement?: ConclusionStatement; /** * (Optional) Prompts the user to confirm the intent. This question should */ confirmationPrompt?: ConfirmationPrompt; /** * (Optional) Determines if a new slot type version is created when the initial */ createVersion?: boolean | core.BooleanOut; /** * (Optional) A description of the intent. Must be less than or equal to 200 characters in length. */ description?: string | core.StringOut; /** * (Optional) Specifies a Lambda function to invoke for each user input. You can */ dialogCodeHook?: DialogCodeHook; /** * (Optional) Amazon Lex uses this prompt to solicit additional activity after */ followUpPrompt?: FollowUpPrompt; /** * (Required) Describes how the intent is fulfilled. For example, after a */ fulfillmentActivity: FulfillmentActivity; /** * (Required) The name of the intent, not case sensitive. Must be less than or equal to 100 characters * in length. */ name: string | core.StringOut; /** * (Optional) A unique identifier for the built-in intent to base this */ parentIntentSignature?: string | core.StringOut; /** * (Optional) When the user answers "no" to the question defined in */ rejectionStatement?: RejectionStatement; /** * (Optional) An array of utterances (strings) that a user might say to signal */ sampleUtterances?: core.Array | core.ArrayOut; /** * (Optional) An list of intent slots. At runtime, Amazon Lex elicits required slot values */ slot?: core.Array | core.ArrayOut; } export declare class Intent extends core.Resource { /** * The ARN of the Lex intent. */ arn: string | core.StringOut; /** * Checksum identifying the version of the intent that was created. The checksum is not */ checksum: string | core.StringOut; /** * (Optional) The statement that you want Amazon Lex to convey to the user */ conclusionStatement?: ConclusionStatement; /** * (Optional) Prompts the user to confirm the intent. This question should */ confirmationPrompt?: ConfirmationPrompt; /** * (Optional) Determines if a new slot type version is created when the initial */ createVersion?: boolean | core.BooleanOut; /** * The date when the intent version was created. */ createdDate: string | core.StringOut; /** * (Optional) A description of the intent. Must be less than or equal to 200 characters in length. */ description?: string | core.StringOut; /** * (Optional) Specifies a Lambda function to invoke for each user input. You can */ dialogCodeHook?: DialogCodeHook; /** * (Optional) Amazon Lex uses this prompt to solicit additional activity after */ followUpPrompt?: FollowUpPrompt; /** * (Required) Describes how the intent is fulfilled. For example, after a */ fulfillmentActivity: FulfillmentActivity; id: string | core.StringOut; /** * The date when the $LATEST version of this intent was updated. */ lastUpdatedDate: string | core.StringOut; /** * (Required) The name of the intent, not case sensitive. Must be less than or equal to 100 characters * in length. */ name: string | core.StringOut; /** * (Optional) A unique identifier for the built-in intent to base this */ parentIntentSignature?: string | core.StringOut; /** * (Optional) When the user answers "no" to the question defined in */ rejectionStatement?: RejectionStatement; /** * (Optional) An array of utterances (strings) that a user might say to signal */ sampleUtterances?: core.Array | core.ArrayOut; /** * (Optional) An list of intent slots. At runtime, Amazon Lex elicits required slot values */ slot?: core.Array | core.ArrayOut; /** * The version of the bot. */ version: string | core.StringOut; constructor(name: string, args?: IntentArgs); getNamespace(): string; } //# sourceMappingURL=intent.d.ts.map