Urara-Blog/node_modules/.pnpm-store/v3/files/50/8e2f8fea49fb2de22a36fe6500f801948d891bfd1d1c285fcba7cb00b5af745207a75b6415d93177705bfbb7e1651d271dffc2c2de5da7c5b0c57c8b154fe0
2022-08-14 01:14:53 +08:00

11 lines
692 B
Text

import type { Transformer, Preprocessor } from '../types';
/** Create a tag matching regexp. */
export declare function createTagRegex(tagName: string, flags?: string): RegExp;
/** Strip script and style tags from markup. */
export declare function stripTags(markup: string): string;
/** Transform an attribute string into a key-value object */
export declare function parseAttributes(attributesStr: string): Record<string, any>;
export declare function transformMarkup({ content, filename }: {
content: string;
filename: string;
}, transformer: Preprocessor | Transformer<unknown>, options?: Record<string, any>): Promise<import("svelte/types/compiler/preprocess/types").Processed>;