UNPKG

@xapp/chat-widget

Version:
24 lines (23 loc) 742 B
import 'rollup-plugin-inject-process-env'; import { Card, Display, List } from "stentor-models"; import { TableDisplayData } from "../components/Table"; /** * Is the Display a Card * * @privateRemarks We don't want to include stentor-response as a dependency so we are redefining them. * @param display * @returns */ export declare function isCard(display: Display): display is Card; /** * Is the Display a List * * @privateRemarks We don't want to include stentor-response as a dependency so we are redefining them. * @param display * @returns */ export declare function isList(display: Display): display is List; /** * Is the Display a Table */ export declare function isTable(display: Display): display is TableDisplayData;