import { DataStorage } from '../../utility/dataStorage'; import { TemplateResult } from '@blinkk/selective-edit'; import { EditorAppComponent } from './editorApp'; import { EditorHistory } from '../../editor/recent'; import TimeAgo from 'javascript-time-ago'; /** * The editor needs to determine a few things before it can start display. * * This shell is created to search for predefined information in the html * that can help the editor correctly start rendering the app. * * If unable to determine the connector the app shell will show the start UI * which allows the user to choose one of the avaible connectors to start using. */ export declare class EditorAppShell { container: HTMLElement; editorApp?: EditorAppComponent; /** * Editor history. */ history: EditorHistory; storage: DataStorage; timeAgo: TimeAgo; constructor(container: HTMLElement); init(): void; render(): void; /** * Template that is rendered for the app. * * This template is 'root' template for the entire app UI. * In other words, the entire app UI structure starts from * this template. */ template(): TemplateResult; templateConnectors(): TemplateResult; templateRecentRepositories(maxCount?: number): TemplateResult; }