import { SvelteComponent as Component } from 'svelte'; export function __svelte_static(SvelteComponent: Component) { return (attrs: Record, ...children: any): string => { // TODO include head and css stuff too... const { html } = SvelteComponent.render(attrs); return html; }; } export function __svelte_dynamic(SvelteComponent: Component, importUrl: string) { const placeholderId = `placeholder_${String(Math.random())}`; return (attrs: Record, ...children: any) => { return `
`; }; }