import { RouteComponentProps } from "react-router-dom"; /** * Properties of ViewCollection. * * @typedef ViewCollection.ViewCollectionProps * @property {string} [defaultLocation=/agent-desktop] - Default URL location of view * @property {DynamicContentStore.DynamicComponentChildren} [children] - children */ export interface ViewCollectionProps { defaultLocation: string; } /** * Properties of ViewCollection. * * @typedef {ViewCollection.ViewCollectionProps} ViewCollection.ViewCollectionChildrenProps * @property {string} defaultLocation - Router default location. */ export interface ViewCollectionChildrenProps extends RouteComponentProps { defaultLocation: string; } export declare enum ViewCollectionChildrenKeys { redirect = "redirect" } /** * Additional properties of ViewCollection. * * @typedef ViewCollection.ViewAdditionalProps * @property {boolean} [isViewActive] - Whether the view is active or not * @property {RouteComponentProps} [route] - View route */ export interface ViewAdditionalProps { isViewActive?: boolean; route?: RouteComponentProps; }