import type { MarkupTransformOptions, MarkupTransformResult } from "./types.js"; export type { MarkupRelocation, MarkupTransformOptions, MarkupTransformResult, MarkupTransformTarget, } from "./types.js"; /** * Transforms Svelte markup containing `{yield* expr}` brace expressions * into generated dispatcher events. * * Strategy: first find all brace expressions containing `yield*` via * character scanning, replace them with placeholder identifiers, then * parse the sanitized markup with Svelte's AST to determine the correct * context for each placeholder (plain expression, #each, #await, event * handler, etc.). * * @example * ```ts * const result = transform_markup_effect( * "", * "SaveButton.svelte", * ); * ``` * * @since 2.0.0 * @param content - The raw `.svelte` file content. * @param filename - The source filename, used in error messages. * @param options - Optional transform target configuration. * @returns The transformed markup and a flag indicating whether yield* was * found. */ export declare function transform_markup_effect(content: string, filename: string, options?: MarkupTransformOptions): MarkupTransformResult;