import { ConvertDocumentWithPandocBrowserInputModel, ConvertLatexToPngBrowserInputModel, } from '../../../../code/type/index.js';
import { buildRequestToConvert } from '../shared.js';
import { resolveWorkFileAsArrayBuffer } from '../../../../code/tool/shared/request.js';
export async function convertDocumentWithPandocBrowser(source) {
    const input = ConvertDocumentWithPandocBrowserInputModel.parse(source);
}
export async function convertLatexToPngBrowser(source) {
    const input = ConvertLatexToPngBrowserInputModel.parse(source);
    const request = buildRequestToConvert(input);
    const content = await resolveWorkFileAsArrayBuffer(request);
    return content;
}
//# sourceMappingURL=browser.js.map