import { SolidFile } from '@pod-os/core'; import { EventEmitter } from '../../stencil-public-runtime'; import './shoelace'; interface ModifiedFile { file: SolidFile; newContent: string; } export declare class PosMarkdownDocument { /** * The file to show / edit */ file: SolidFile; /** * Current save status */ saveStatus: 'idle' | 'saving' | 'failed'; /** * Whether the current user has the permission to edit the file */ editable: boolean; private markdown; private editorEl; private isModified; private editor; private isEditing; /** * Event emitted when the document has been modified */ documentModified: EventEmitter; private readonly disconnected$; componentWillLoad(): Promise; componentDidLoad(): void; disconnectedCallback(): void; /** * Switch to editing mode */ startEditing(): Promise; /** * Switch to view mode */ stopEditing(): Promise; render(): any; private getStatus; } export {};