@mieweb/wikigdrive
Version:
Google Drive to MarkDown synchronization
25 lines • 745 B
TypeScript
import type { RewriteRule } from './applyRewriteRule.js';
import type { MdFile } from '../model/LocalFile.js';
export interface WorkerPayload {
odtPath: string;
realFileName: string;
destinationPath: string;
picturesDirAbsolute: string;
rewriteRules: RewriteRule[];
fm_without_version?: boolean;
localFile: MdFile;
}
export interface WorkerResult {
links: Array<string>;
frontMatter: string;
markdown: string;
errors: Array<string>;
headersMap: {
[key: string]: string;
};
invisibleBookmarks: {
[key: string]: number;
};
}
export declare function executeOdtToMarkdown(workerData: WorkerPayload): Promise<WorkerResult>;
//# sourceMappingURL=executeOdtToMarkdown.d.ts.map