/** JS snippets evaluated in Cursor renderer (composer scope only). */
export declare const NORMALIZE_IMAGE_SRC_FN = "\nfunction normalizeImageSrc(src) {\n  if (!src) return null;\n  const raw = src.trim();\n  if (!raw) return null;\n  if (/^https?:\\/\\//i.test(raw)) return raw;\n  if (raw.startsWith('vscode-file://vscode-app')) {\n    const rest = raw.slice('vscode-file://vscode-app'.length);\n    const q = rest.indexOf('?');\n    try {\n      return decodeURIComponent(q >= 0 ? rest.slice(0, q) : rest);\n    } catch {\n      return null;\n    }\n  }\n  if (raw.startsWith('file://')) {\n    try {\n      return decodeURIComponent(raw.replace(/^file:\\/\\//, ''));\n    } catch {\n      return null;\n    }\n  }\n  return null;\n}\n";
export declare function extractComposerDraftImagesScript(): string;
/** Empty TipTap/contenteditable composer (used before send from Connect). */
export declare function clearComposerInputScript(inputSelectors: string[]): string;
export declare function clearComposerAttachmentsScript(): string;
