Variable compat

compat: {
    Application: typeof Application;
    Component: typeof Component;
    Fragment: typeof Fragment;
    Model: typeof Model;
    Session: typeof Session;
    Store: typeof Store;
    Translator: typeof Translator;
    components/Alert: typeof Alert;
    components/AlertManager: typeof AlertManager;
    components/Badge: typeof Badge;
    components/Button: typeof Button;
    components/Checkbox: typeof Checkbox;
    components/ColorPreviewInput: typeof ColorPreviewInput;
    components/Dropdown: typeof Dropdown;
    components/EditUserModal: typeof EditUserModal;
    components/FieldSet: typeof FieldSet;
    components/GroupBadge: typeof GroupBadge;
    components/Link: typeof Link;
    components/LinkButton: typeof LinkButton;
    components/LoadingIndicator: typeof LoadingIndicator;
    components/Modal: typeof Modal;
    components/ModalManager: typeof ModalManager;
    components/Navigation: typeof Navigation;
    components/Page: typeof Page;
    components/Placeholder: typeof Placeholder;
    components/RequestErrorModal: typeof RequestErrorModal;
    components/Select: typeof Select;
    components/SelectDropdown: typeof SelectDropdown;
    components/Separator: typeof Separator;
    components/SplitDropdown: typeof SplitDropdown;
    components/Switch: typeof Switch;
    components/TextEditor: typeof TextEditor;
    components/TextEditorButton: typeof TextEditorButton;
    components/Tooltip: typeof Tooltip;
    extend: any;
    helpers/avatar: ((user: null | User, attrs?: ComponentAttrs) => Mithril.Vnode);
    helpers/fullTime: ((time: Date) => Mithril.Vnode);
    helpers/highlight: ((string: string, phrase?: string | RegExp, length?: number) => Mithril.Vnode<any, any> | string);
    helpers/humanTime: ((time: Date) => Mithril.Vnode);
    helpers/icon: ((fontClass: string, attrs?: Attributes) => Mithril.Vnode);
    helpers/listItems: (<Attrs>(rawItems: ModdedChildrenWithItemName[], customTag?: VnodeElementTag<Attrs, Component<Attrs, {}>>, attributes?: Attrs) => Mithril.Vnode[]);
    helpers/punctuateSeries: ((items: Children[]) => Children);
    helpers/userOnline: ((user: User) => Mithril.Vnode<{}, {}> | null);
    helpers/username: ((user: undefined | null | false | User) => Mithril.Vnode);
    models/Discussion: typeof Discussion;
    models/Forum: typeof Forum;
    models/Group: typeof Group;
    models/Notification: typeof Notification;
    models/Post: typeof Post;
    models/User: typeof User;
    resolvers/DefaultResolver: typeof DefaultResolver;
    states/PaginatedListState: typeof PaginatedListState;
    utils/BasicEditorDriver: typeof BasicEditorDriver;
    utils/Drawer: typeof Drawer;
    utils/ItemList: typeof ItemList;
    utils/RequestError: typeof RequestError;
    utils/ScrollListener: typeof ScrollListener;
    utils/Stream: typeof Stream;
    utils/SubtreeRetainer: typeof SubtreeRetainer;
    utils/abbreviateNumber: ((number: number) => string);
    utils/anchorScroll: ((element: string | HTMLElement | Element | SVGElement, callback: (() => void)) => void);
    utils/classList: ((...inputs: ClassValue[]) => string);
    utils/computed: (<T, M>(...args: [...string[], ((this: M, ...args: unknown[]) => T)]) => (() => T));
    utils/escapeRegExp: ((input: string) => string);
    utils/evented: {
        handlers: Record<string, unknown>;
        getHandlers(event: string): Function[];
        off(event: string, handler: Function): void;
        on(event: string, handler: Function): void;
        one(event: string, handler: Function): void;
        trigger(event: string, ...args: any[]): void;
    };
    utils/extract: (<T, K>(object: T, property: K) => T[K]);
    utils/extractText: ((vdom: Children) => string);
    utils/focusTrap: common/utils/focusTrap;
    utils/formatNumber: ((number: number, locale?: string) => string);
    utils/humanTime: ((time: undefined | null | string | number | Date | Dayjs) => string);
    utils/insertText: ((textarea: HTMLTextAreaElement, __namedParameters: SelectionRange) => void);
    utils/isDark: ((hexcolor: String) => boolean);
    utils/isObject: ((obj: unknown) => obj is object);
    utils/liveHumanTimes: (() => void);
    utils/mapRoutes: ((routes: Record<string, FlarumGenericRoute>, basePath?: string) => Record<string, RouteResolver<Record<string, unknown>, Component<{
        routeName: string;
        [key: string]: unknown;
    }, undefined>, Record<string, unknown>>>);
    utils/mixin: ((Parent: object, ...mixins: Record<string, any>[]) => object);
    utils/patchMithril: ((global: any) => void);
    utils/proxifyCompat: ((compat: Record<string, unknown>, namespace: string) => Record<string, unknown>);
    utils/setRouteWithForcedRefresh: ((route: string, params?: null, options?: RouteOptions) => void);
    utils/string: common/utils/string;
    utils/stringToColor: ((string: string) => string);
    utils/styleSelectedText: ((textarea: HTMLTextAreaElement, styleArgs: StyleArgs) => void);
    utils/subclassOf: ((A: any, B: any) => any);
    utils/throttleDebounce: common/utils/throttleDebounce;
    utils/withAttr: ((key: string, cb: Function) => ((this: Element) => void));
} & {
    AdminApplication: typeof AdminApplication;
    components/AdminHeader: typeof AdminHeader;
    components/AdminNav: typeof AdminNav;
    components/AdminPage: typeof AdminPage;
    components/AppearancePage: typeof AppearancePage;
    components/BasicsPage: typeof BasicsPage;
    components/DashboardPage: typeof DashboardPage;
    components/DashboardWidget: typeof DashboardWidget;
    components/EditCustomCssModal: typeof EditCustomCssModal;
    components/EditCustomFooterModal: typeof EditCustomFooterModal;
    components/EditCustomHeaderModal: typeof EditCustomHeaderModal;
    components/EditGroupModal: typeof EditGroupModal;
    components/ExtensionLinkButton: typeof ExtensionLinkButton;
    components/ExtensionPage: typeof ExtensionPage;
    components/ExtensionPermissionGrid: typeof ExtensionPermissionGrid;
    components/ExtensionsWidget: typeof ExtensionsWidget;
    components/HeaderPrimary: typeof HeaderPrimary;
    components/HeaderSecondary: typeof HeaderSecondary;
    components/LoadingModal: typeof LoadingModal;
    components/MailPage: typeof MailPage;
    components/PermissionDropdown: typeof PermissionDropdown;
    components/PermissionGrid: typeof PermissionGrid;
    components/PermissionsPage: typeof PermissionsPage;
    components/SessionDropdown: typeof SessionDropdown;
    components/SettingDropdown: typeof SettingDropdown;
    components/SettingsModal: typeof SettingsModal;
    components/StatusWidget: typeof StatusWidget;
    components/UploadImageButton: typeof UploadImageButton;
    components/UserListPage: typeof UserListPage;
    routes: ((app: AdminApplication) => void);
    utils/ExtensionData: typeof ExtensionData;
    utils/generateElementId: ((size?: number) => string);
    utils/getCategorizedExtensions: (() => {});
    utils/isExtensionEnabled: ((name: any) => any);
    utils/saveSettings: ((settings: any) => Promise<any>);
}

Generated using TypeDoc v0.23.24