export interface CustomObject { [key: string]: T } export interface TemplateTypes { value: string, text: string } export interface RulesFunction { (value: string): string|boolean } export type KeyRules = CustomObject export type sortedAndGroupedTemplateData = CustomObject>> export interface FieldTypeFunction { (str: string): string } export interface FileObject { result: CustomObject | string, type: string } export interface MenuItem { name: string, icon: string, class: string, action: string, index: number, external?: boolean }