UNPKG

yarle-evernote-to-md

Version:

Yet Another Rope Ladder from Evernote

34 lines (33 loc) 1.1 kB
import { InternalLink } from './models'; export interface NoteIdNameEntry { title: string; noteName: string; notebookName: string; uniqueEnd: string; url: string; guid: string; } export interface NoteIdNames { [key: string]: NoteIdNameEntry; } export declare class RuntimePropertiesSingleton { static instance: RuntimePropertiesSingleton; noteIdNameMap: NoteIdNames; noteIdNameTOCMap: NoteIdNames; currentNoteName: string; currentNotebookName: string; currentNotePath: string; private constructor(); static getInstance(): RuntimePropertiesSingleton; addItemToMap(linkItem: InternalLink): void; addItemToTOCMap(linkItem: InternalLink): void; getNoteIdNameMap(): any; getNoteIdNameTOCMap(): any; getAllNoteIdNameMap(): NoteIdNames; getNoteIdNameMapByNoteTitle(noteTitle: string): any; setCurrentNotebookName(currentNotebookName: string): void; setCurrentNoteName(currentNoteName: string): void; getCurrentNoteName(): string; getCurrentNotePath(): string; setCurrentNotePath(value: string): void; }