/** * Svelte refuses the class: and style: directives on a component. On a tag, Lili turns them * into the s-class_ / s-style_ props the components already handle: * class:active -> s-class_active={active} * class:gap={4} -> s-class_gap={4} (the component gives the class gap-4) * style:opacity={0} -> s-style_opacity={0} * style:color="red" -> s-style_color="red" * A directive with a modifier (style:color|important) is left as it is: Svelte reports it. */ /** * Rewrites the class: and style: directives of the attributes of a tag (everything after its name). * The values of the other attributes are skipped, so a "class:" inside a string or an expression is kept. */ export declare function rewriteDirectives(attributes: string): string;