import { IExtractionResult } from '../structured-data/extraction';
import { IResultSimple } from '../structured-data/item';
export interface IExportable {
    results: IResultSimple;
    url?: string;
}
export interface IExportInfo {
    json: string;
    html: string;
}
export interface IExported extends IExportable {
    paths: IExportInfo;
}
export interface IExportFailed extends IExported {
    error: any;
}
export declare const prepareExport: (result: IExtractionResult) => IExportable;
export default class Exporter {
    readonly extractionDirectory: string;
    constructor(extractionDirectory: string);
    export(results: IExtractionResult): Promise<IExported>;
}
