import { BasePart, LazyUiParts, UiPartComponent, UiPartConfig } from '.'; import { ContentFooterPart } from './content/footer'; import { ContentHeaderPart } from './content/header'; import { ContentToolbarPart } from './content/toolbar'; import { EditorConfig, TemplateResult } from '@blinkk/selective-edit'; import { EditorState } from '../../state'; import { Base } from '@blinkk/selective-edit/dist/mixins'; import { DataStorage } from '../../../utility/dataStorage'; export declare const CONTENT_SECTION_ORDER: string[]; export interface ContentPartConfig extends UiPartConfig { /** * Configuration for creating the selective editor. */ selectiveConfig: EditorConfig; state: EditorState; /** * Storage class for working with settings. */ storage: DataStorage; } /** * Ui part for displaying the content of a file. * * The content is broken up into sections which are displayed individually. * For example, the fields editor, raw editor, or content history. */ export declare class ContentPart extends BasePart implements UiPartComponent { config: ContentPartConfig; contentSettings: ContentSettings; parts: LazyUiParts; sections: LazyUiParts; constructor(config: ContentPartConfig); classesForPart(): Record; get isExpanded(): boolean; get partFooter(): ContentFooterPart; get partHeader(): ContentHeaderPart; get partToolbar(): ContentToolbarPart; template(): TemplateResult; templateSections(): TemplateResult; } declare const ContentSettings_base: { new (...args: any[]): { _listeners?: Record void)[]> | undefined; addListener(eventName: string, callback: (...args: any) => void): void; readonly listeners: Record void)[]>; triggerListener(eventName: string, ...args: any): void; }; } & typeof Base; export declare class ContentSettings extends ContentSettings_base { protected _highlightAuto?: boolean; protected _highlightDirty?: boolean; protected _showDeepLinks?: boolean; storage: DataStorage; constructor(storage: DataStorage); get highlightAuto(): boolean; set highlightAuto(value: boolean); get highlightDirty(): boolean; set highlightDirty(value: boolean); get showDeepLinks(): boolean; set showDeepLinks(value: boolean); toggleHighlightAuto(): void; toggleHighlightDirty(): void; toggleShowDeepLinks(): void; } export {};