UNPKG

md-curcuma

Version:

A Typescript library for transporting and converting markdown and other data.

21 lines (20 loc) 778 B
import { Observable, Observer_Interface, Observer_Props, Observer_Type } from "../core/observer"; import { Data_Interface, IO_Observable_Reader_Interface } from "./types"; export interface Html_IO_Props_Interface { readPath: string; writePath: string; simulate: boolean; doSubfolders: boolean; limit: number; useCounter: boolean; } export declare class Html_IO<D> implements IO_Observable_Reader_Interface<D>, Observable<D> { private observer_subject; private props; constructor(props: Html_IO_Props_Interface); add_observer(observer: Observer_Interface<D>, id: Observer_Type): void; notify_all(props: Observer_Props<D>): void; notify(props: Observer_Props<D>): void; read(): void; write(data: Data_Interface<D>): void; }