UNPKG

md-curcuma

Version:

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

20 lines (19 loc) 754 B
import { Observable, Observer_Interface, Observer_Props, Observer_Type } from "../core/observer"; import { Data_Interface, IO_Observable_Reader_Interface } from "./types"; export interface Image_IO_Props_Interface { path: string; simulate: boolean; doSubfolders: boolean; limit: number; useCounter: boolean; } export declare class Image_IO<D> implements IO_Observable_Reader_Interface<D>, Observable<D> { private observer_subject; private props; constructor(props: Image_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; }