import { Map } from 'ol'; import FeatureFormat from 'ol/format/Feature'; export declare class ReadAsText { private parser; reader: FileReader; map: Map; constructor(parser: FeatureFormat); withMap(map: Map): this; apply(file: any, resolve: (r: any) => void, reject: (e: any) => void): void; }