declare const template = " \nmodule.exports = {\n // [Mandatory] This must be 'simple'.\n type: 'simple',\n // [Mandatory] Generated blogsearch database file.\n output: './my_blog_index.db.wasm',\n // [Mandatory] List of entries to parse. The crawler uses glob pattern internally.\n // How to use glob: https://github.com/isaacs/node-glob\n entries: [\n './reactjs.org/public/docs/**/*.html'\n ],\n // [Mandatory] Fields configurations.\n // See: https://github.com/kbumsik/blogsearch#whats-in-the-index\n fields: {\n title: {\n // The value can be a CSS selector.\n parser: 'article > header',\n },\n body: {\n // Set false if you want to reduce the size of the database.\n hasContent: true,\n // It can be a function as well.\n parser: (entry, page) => {\n // Use puppeteer page object.\n // It's okay to return a promise.\n return page.$eval('article > div > div:first-child', el => el.textContent);\n }\n },\n url: {\n // By setting this false the search engine won't index the URL.\n indexed: false,\n parser: (entry, page) => {\n // entry is a string of the path being parsed.\n return entry.replace('./reactjs.org/public', 'https://reactjs.org');\n },\n },\n categories: {\n // This is disabled because the target website doesn't have categories.\n enabled: false,\n // This is a dummy parser. This is unused because the field is disabled.\n parser: () => 'categories-1, categories-2',\n },\n tags: {\n // This is disabled because the target website doesn't have tags.\n enabled: false,\n // This is a dummy parser. This is unused because the field is disabled.\n parser: () => 'tags-1, tags-2',\n },\n }\n};\n"; export default template; //# sourceMappingURL=blogsearch.config.js.template.d.ts.map