import type { Component, ComponentProps } from 'svelte'; export type RenderStringOptions = { bootstrapScriptContent?: string; bootstrapScripts?: string[]; bootstrapModules?: string[]; nonce?: string; onError?: (error: unknown) => void; }; export declare const renderToString: >>(component: Comp, props?: ComponentProps, { bootstrapScriptContent, bootstrapScripts, bootstrapModules, nonce, onError }?: RenderStringOptions) => string;