svelte = (opts = {}) => {
	/** @type {Array<import('svelte/types/compiler/preprocess').PreprocessorGroup>} */
	const processors = [];
	processors.push(convertToHtml);
	processors.push(addScriptTags);
	processors.push(extractQueries);
	if (opts.highlight !== false) processors.push(highlight);
	if (opts.escapeCode !== false) processors.push(obfuscateCode);
	processors.push(transformQueries);
	processors.push(injectHighlightStyles);
	processors.push(injectQueries);
	processors.push(initUniversalSql);
	processors.push(injectComponents());
	processors.push(addBasePathToHrefAndSrc);

	// @ts-expect-error Typescript is upset about this for some reason
	return seqPreprocessor(processors);
}
@param {EvidencePreprocessOptions} opts
@returns {import("svelte/types/compiler/preprocess").PreprocessorGroup}