import { Guid } from "guid-typescript"; import { FabreactorPanelType, FabreactorAction, FabreactorFieldGroup, FabreactorItemForm } from "../../utils"; import FabreactorListStore from "./ListStore"; import { Visibility } from "./Visibility"; export default class FabreactorPanelStore { private rootStore; private store; redirectVisibility: Visibility; redirectUrl?: string; panels: FabreactorSidePanel[]; constructor(rootStore: FabreactorListStore); private init; private redirect; openNewForm: (title: string, action?: FabreactorAction | null | undefined, selectedItems?: any[] | undefined, onSave?: ((action: FabreactorAction, form: any, item: any) => Promise) | undefined, currentForm?: FabreactorItemForm | undefined) => void; openViewForm: (action?: FabreactorAction | null | undefined, selectedItems?: any[] | undefined, getForm?: any) => void; openEditForm: (item: any, group: FabreactorFieldGroup, action?: FabreactorAction | null | undefined, getSuggestions?: any, saveItem?: any) => void; openListForm: (item: any, action?: FabreactorAction | null | undefined) => void; updateItem: (item: any) => void; open: (panel: FabreactorSidePanel) => void; onDismiss: (id: Guid, saved?: boolean | undefined) => void; readonly currentPanel: FabreactorSidePanel | null; readonly redirectDescription: any; readonly redirectTitle: any; } declare class FabreactorSidePanel { id?: Guid; type: FabreactorPanelType; properties?: any; store?: any; } export {};