UNPKG

@jargon/actions-on-google

Version:

The Jargon Actions on Google SDK makes it easy to manage the content of your Google Action

18 lines (17 loc) 998 B
import { ActionsSdkApp, ActionsSdkConversation } from 'actions-on-google'; import { JargonAppBase, JargonAppBaseOptions } from '../common'; export interface JargonActionsSdkAppOptions extends JargonAppBaseOptions { } export declare const DefaultJargonActionsSdkAppOptions: Required<JargonActionsSdkAppOptions>; /** * The main entrypoint into the Jargon SDK for Actions SDK applications */ export declare class JargonActionsSdkApp<TConvData = {}, TUserStorage = {}, TConversation extends ActionsSdkConversation<TConvData, TUserStorage> = ActionsSdkConversation<TConvData, TUserStorage>> extends JargonAppBase<JargonActionsSdkAppOptions> { constructor(options?: JargonActionsSdkAppOptions); /** * Install jargon onto the provided Actions SDK application * @param app {ActionsSdkApp} The application to install the JDK onto */ installOnto(app: ActionsSdkApp<TConvData, TUserStorage, TConversation>): void; middleware: (conv: ActionsSdkConversation<{}, {}>) => void; }