import type { SelectModeIframeMessage, SelectModeParentMessage } from "./generated/selectModeIframeRpc"; import * as z from "zod"; export declare const SELECT_MODE_IFRAME_RPC_CHANNEL_ID: "replo:select-mode-iframe-rpc"; export declare const SELECT_MODE_IFRAME_RPC_CHANNEL_VERSION: 1; export declare const inlineEditFeedbackSchema: z.ZodObject<{ status: z.ZodEnum<{ failed: "failed"; pending: "pending"; unavailable: "unavailable"; }>; rect: z.ZodObject<{ x: z.ZodNumber; y: z.ZodNumber; left: z.ZodNumber; top: z.ZodNumber; right: z.ZodNumber; bottom: z.ZodNumber; width: z.ZodNumber; height: z.ZodNumber; }, z.core.$strip>; }, z.core.$strip>; export declare const iframeRuntimeBuildMetadataSchema: z.ZodObject<{ packageName: z.ZodString; version: z.ZodString; branch: z.ZodNullable; commit: z.ZodNullable; builtAt: z.ZodNullable; capabilities: z.ZodOptional>; }, z.core.$strip>; /** Runtimes listing this draw section insert and drag controls on the canvas and accept `setSectionCanvas`. */ export declare const SECTION_CANVAS_CAPABILITY = "sectionCanvas"; export declare const sectionCanvasSectionSchema: z.ZodObject<{ index: z.ZodNumber; startLine: z.ZodNumber; endLine: z.ZodNumber; label: z.ZodString; isLocked: z.ZodBoolean; }, z.core.$strip>; /** * Whether a source location's file is the canvas's page file. Locations arrive as `file://` URLs, * `./`-relative or absolute paths, and the page file is workspace-relative, so either may be a path * suffix of the other. The builder's selection sync and the runtime's section finding both use this. */ export declare function isSectionCanvasPageFile({ filePath, pageFilePath, }: { filePath: string; pageFilePath: string; }): boolean; export declare const sectionCanvasStateSchema: z.ZodObject<{ pageFilePath: z.ZodString; sections: z.ZodArray>; previewScale: z.ZodNumber; isDisabled: z.ZodBoolean; insertingAt: z.ZodOptional>; occludedInsets: z.ZodOptional>>; }, z.core.$strip>; export declare const sectionCanvasRequestSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"insert">; at: z.ZodNumber; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"move">; moveId: z.ZodString; index: z.ZodNumber; to: z.ZodNumber; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"remove">; index: z.ZodNumber; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"undo">; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"redo">; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"cancelInsert">; }, z.core.$strip>], "type">; export declare const sectionCanvasLayoutEntrySchema: z.ZodObject<{ index: z.ZodNumber; startLine: z.ZodNumber; endLine: z.ZodNumber; rect: z.ZodObject<{ x: z.ZodNumber; y: z.ZodNumber; left: z.ZodNumber; top: z.ZodNumber; right: z.ZodNumber; bottom: z.ZodNumber; width: z.ZodNumber; height: z.ZodNumber; }, z.core.$strip>; }, z.core.$strip>; export declare const selectModeEventInputSchemas: { hover: z.ZodObject<{ rect: z.ZodNullable; }, z.core.$strip>>; }, z.core.$strip>; areaSelection: z.ZodObject<{ rect: z.ZodObject<{ x: z.ZodNumber; y: z.ZodNumber; left: z.ZodNumber; top: z.ZodNumber; right: z.ZodNumber; bottom: z.ZodNumber; width: z.ZodNumber; height: z.ZodNumber; }, z.core.$strip>; items: z.ZodArray; selector: z.ZodString; section: z.ZodOptional>; tagName: z.ZodString; elementType: z.ZodString; textContent: z.ZodNullable; sectionLabel: z.ZodOptional; rect: z.ZodObject<{ x: z.ZodNumber; y: z.ZodNumber; left: z.ZodNumber; top: z.ZodNumber; right: z.ZodNumber; bottom: z.ZodNumber; width: z.ZodNumber; height: z.ZodNumber; }, z.core.$strip>; textMetrics: z.ZodNullable>; outerHTML: z.ZodString; image: z.ZodOptional; sources: z.ZodArray; }, z.core.$strip>>; }, z.core.$strip>>; video: z.ZodOptional>; definedStyles: z.ZodDefault>; pseudo: z.ZodNullable; }, z.core.$strip>>; className: z.ZodNullable; raw: z.ZodString; resolved: z.ZodString; }, z.core.$strip>>>; authoredStyles: z.ZodDefault>; inheritedStyles: z.ZodDefault>; clickPosition: z.ZodObject<{ x: z.ZodNumber; y: z.ZodNumber; }, z.core.$strip>; sourceLocation: z.ZodOptional; componentName: z.ZodOptional; }, z.core.$strip>>; fiberChain: z.ZodDefault; componentName: z.ZodOptional; }, z.core.$strip>; tagName: z.ZodOptional; componentName: z.ZodOptional; props: z.ZodOptional>; }, z.core.$strip>>>; siblingSelectors: z.ZodDefault>; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"plan">; planId: z.ZodString; label: z.ZodString; rect: z.ZodObject<{ x: z.ZodNumber; y: z.ZodNumber; left: z.ZodNumber; top: z.ZodNumber; right: z.ZodNumber; bottom: z.ZodNumber; width: z.ZodNumber; height: z.ZodNumber; }, z.core.$strip>; }, z.core.$strip>], "kind">>; }, z.core.$strip>; dragRect: z.ZodObject<{ dragRect: z.ZodNullable>; selectionRects: z.ZodArray; }, z.core.$strip>>; }, z.core.$strip>; inlineEditState: z.ZodObject<{ activeMarks: z.ZodObject<{ bold: z.ZodBoolean; italic: z.ZodBoolean; underline: z.ZodBoolean; strike: z.ZodBoolean; }, z.core.$strip>; isInlineEditing: z.ZodBoolean; isInlineEditPending: z.ZodBoolean; }, z.core.$strip>; }; export declare const websiteBuilderToPreviewIframeMethodConfig: { setSectionCanvas: { inputSchema: z.ZodObject<{ canvas: z.ZodNullable>; previewScale: z.ZodNumber; isDisabled: z.ZodBoolean; insertingAt: z.ZodOptional>; occludedInsets: z.ZodOptional>>; }, z.core.$strip>>; }, z.core.$strip>; outputSchema: z.ZodVoid; }; settleSectionMove: { inputSchema: z.ZodObject<{ moveId: z.ZodString; outcome: z.ZodEnum<{ failed: "failed"; persisted: "persisted"; }>; }, z.core.$strip>; outputSchema: z.ZodVoid; }; expandToSection: { inputSchema: z.ZodObject<{ targetSelector: z.ZodString; }, z.core.$strip>; outputSchema: z.ZodVoid; }; setSectionPreview: { inputSchema: z.ZodObject<{ targetSelector: z.ZodNullable; }, z.core.$strip>; outputSchema: z.ZodVoid; }; symbolicateSelectedElement: { inputSchema: z.ZodObject<{ kind: z.ZodLiteral<"react-element">; selector: z.ZodString; section: z.ZodOptional>; tagName: z.ZodString; elementType: z.ZodString; textContent: z.ZodNullable; sectionLabel: z.ZodOptional; rect: z.ZodObject<{ x: z.ZodNumber; y: z.ZodNumber; left: z.ZodNumber; top: z.ZodNumber; right: z.ZodNumber; bottom: z.ZodNumber; width: z.ZodNumber; height: z.ZodNumber; }, z.core.$strip>; textMetrics: z.ZodNullable>; outerHTML: z.ZodString; image: z.ZodOptional; sources: z.ZodArray; }, z.core.$strip>>; }, z.core.$strip>>; video: z.ZodOptional>; definedStyles: z.ZodDefault>; pseudo: z.ZodNullable; }, z.core.$strip>>; className: z.ZodNullable; raw: z.ZodString; resolved: z.ZodString; }, z.core.$strip>>>; authoredStyles: z.ZodDefault>; inheritedStyles: z.ZodDefault>; clickPosition: z.ZodObject<{ x: z.ZodNumber; y: z.ZodNumber; }, z.core.$strip>; sourceLocation: z.ZodOptional; componentName: z.ZodOptional; }, z.core.$strip>>; fiberChain: z.ZodDefault; componentName: z.ZodOptional; }, z.core.$strip>; tagName: z.ZodOptional; componentName: z.ZodOptional; props: z.ZodOptional>; }, z.core.$strip>>>; siblingSelectors: z.ZodDefault>; }, z.core.$strip>; outputSchema: z.ZodObject<{ kind: z.ZodLiteral<"react-element">; selector: z.ZodString; section: z.ZodOptional>; tagName: z.ZodString; elementType: z.ZodString; textContent: z.ZodNullable; sectionLabel: z.ZodOptional; rect: z.ZodObject<{ x: z.ZodNumber; y: z.ZodNumber; left: z.ZodNumber; top: z.ZodNumber; right: z.ZodNumber; bottom: z.ZodNumber; width: z.ZodNumber; height: z.ZodNumber; }, z.core.$strip>; textMetrics: z.ZodNullable>; outerHTML: z.ZodString; image: z.ZodOptional; sources: z.ZodArray; }, z.core.$strip>>; }, z.core.$strip>>; video: z.ZodOptional>; definedStyles: z.ZodDefault>; pseudo: z.ZodNullable; }, z.core.$strip>>; className: z.ZodNullable; raw: z.ZodString; resolved: z.ZodString; }, z.core.$strip>>>; authoredStyles: z.ZodDefault>; inheritedStyles: z.ZodDefault>; clickPosition: z.ZodObject<{ x: z.ZodNumber; y: z.ZodNumber; }, z.core.$strip>; sourceLocation: z.ZodOptional; componentName: z.ZodOptional; }, z.core.$strip>>; fiberChain: z.ZodDefault; componentName: z.ZodOptional; }, z.core.$strip>; tagName: z.ZodOptional; componentName: z.ZodOptional; props: z.ZodOptional>; }, z.core.$strip>>>; siblingSelectors: z.ZodDefault>; }, z.core.$strip>; timeoutMs: number; }; navigateToRoute: { inputSchema: z.ZodObject<{ pathname: z.ZodString; }, z.core.$strip>; outputSchema: z.ZodVoid; }; setDisplayMode: { inputSchema: z.ZodObject<{ displayMode: z.ZodEnum<{ browse: "browse"; selection: "selection"; }>; }, z.core.$strip>; outputSchema: z.ZodVoid; }; setSelectionType: { inputSchema: z.ZodObject<{ selectionType: z.ZodEnum<{ drag: "drag"; area: "area"; element: "element"; none: "none"; }>; selectors: z.ZodOptional>; }, z.core.$strip>; outputSchema: z.ZodVoid; }; applyOptimisticUpdate: { inputSchema: z.ZodObject<{ editId: z.ZodString; payload: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"image">; image: z.ZodObject<{ src: z.ZodString; currentSrc: z.ZodString; srcSet: z.ZodString; sizes: z.ZodString; previewUrl: z.ZodNullable; sources: z.ZodArray; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"css">; fontSource: z.ZodOptional>; property: z.ZodString; value: z.ZodNullable; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"content">; innerHTML: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"attribute">; name: z.ZodString; value: z.ZodString; }, z.core.$strip>], "kind">; targetSelector: z.ZodString; targetMode: z.ZodEnum<{ primary: "primary"; group: "group"; }>; }, z.core.$strip>; outputSchema: z.ZodVoid; }; markCommitted: { inputSchema: z.ZodObject<{ editId: z.ZodString; sessionId: z.ZodString; }, z.core.$strip>; outputSchema: z.ZodVoid; }; resolveSessionOverrides: { inputSchema: z.ZodObject<{ sessionId: z.ZodString; outcome: z.ZodEnum<{ failed: "failed"; persisted: "persisted"; }>; }, z.core.$strip>; outputSchema: z.ZodVoid; }; revertOverride: { inputSchema: z.ZodObject<{ editId: z.ZodString; }, z.core.$strip>; outputSchema: z.ZodVoid; }; enterEditMode: { inputSchema: z.ZodUndefined; outputSchema: z.ZodVoid; }; exitEditMode: { inputSchema: z.ZodUndefined; outputSchema: z.ZodVoid; }; formatCommand: { inputSchema: z.ZodObject<{ command: z.ZodEnum<{ toggleBold: "toggleBold"; toggleItalic: "toggleItalic"; toggleUnderline: "toggleUnderline"; toggleStrike: "toggleStrike"; }>; }, z.core.$strip>; outputSchema: z.ZodVoid; }; }; export declare const previewIframeToWebsiteBuilderMethodConfig: { sectionCanvasRequest: { inputSchema: z.ZodObject<{ request: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"insert">; at: z.ZodNumber; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"move">; moveId: z.ZodString; index: z.ZodNumber; to: z.ZodNumber; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"remove">; index: z.ZodNumber; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"undo">; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"redo">; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"cancelInsert">; }, z.core.$strip>], "type">; }, z.core.$strip>; outputSchema: z.ZodVoid; }; sectionCanvasLayoutChanged: { inputSchema: z.ZodObject<{ sections: z.ZodArray; }, z.core.$strip>>; }, z.core.$strip>; outputSchema: z.ZodVoid; }; requestInlineTextEdit: { inputSchema: z.ZodObject<{ editId: z.ZodString; element: z.ZodObject<{ kind: z.ZodLiteral<"react-element">; selector: z.ZodString; section: z.ZodOptional>; tagName: z.ZodString; elementType: z.ZodString; textContent: z.ZodNullable; sectionLabel: z.ZodOptional; rect: z.ZodObject<{ x: z.ZodNumber; y: z.ZodNumber; left: z.ZodNumber; top: z.ZodNumber; right: z.ZodNumber; bottom: z.ZodNumber; width: z.ZodNumber; height: z.ZodNumber; }, z.core.$strip>; textMetrics: z.ZodNullable>; outerHTML: z.ZodString; image: z.ZodOptional; sources: z.ZodArray; }, z.core.$strip>>; }, z.core.$strip>>; video: z.ZodOptional>; definedStyles: z.ZodDefault>; pseudo: z.ZodNullable; }, z.core.$strip>>; className: z.ZodNullable; raw: z.ZodString; resolved: z.ZodString; }, z.core.$strip>>>; authoredStyles: z.ZodDefault>; inheritedStyles: z.ZodDefault>; clickPosition: z.ZodObject<{ x: z.ZodNumber; y: z.ZodNumber; }, z.core.$strip>; sourceLocation: z.ZodOptional; componentName: z.ZodOptional; }, z.core.$strip>>; fiberChain: z.ZodDefault; componentName: z.ZodOptional; }, z.core.$strip>; tagName: z.ZodOptional; componentName: z.ZodOptional; props: z.ZodOptional>; }, z.core.$strip>>>; siblingSelectors: z.ZodDefault>; }, z.core.$strip>; }, z.core.$strip>; outputSchema: z.ZodObject<{ allowed: z.ZodBoolean; }, z.core.$strip>; timeoutMs: number; }; iframeReady: { inputSchema: z.ZodObject<{ packageName: z.ZodString; version: z.ZodString; branch: z.ZodNullable; commit: z.ZodNullable; builtAt: z.ZodNullable; capabilities: z.ZodOptional>; }, z.core.$strip>; outputSchema: z.ZodVoid; }; elementSelected: { inputSchema: z.ZodObject<{ data: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"react-element">; selector: z.ZodString; section: z.ZodOptional>; tagName: z.ZodString; elementType: z.ZodString; textContent: z.ZodNullable; sectionLabel: z.ZodOptional; rect: z.ZodObject<{ x: z.ZodNumber; y: z.ZodNumber; left: z.ZodNumber; top: z.ZodNumber; right: z.ZodNumber; bottom: z.ZodNumber; width: z.ZodNumber; height: z.ZodNumber; }, z.core.$strip>; textMetrics: z.ZodNullable>; outerHTML: z.ZodString; image: z.ZodOptional; sources: z.ZodArray; }, z.core.$strip>>; }, z.core.$strip>>; video: z.ZodOptional>; definedStyles: z.ZodDefault>; pseudo: z.ZodNullable; }, z.core.$strip>>; className: z.ZodNullable; raw: z.ZodString; resolved: z.ZodString; }, z.core.$strip>>>; authoredStyles: z.ZodDefault>; inheritedStyles: z.ZodDefault>; clickPosition: z.ZodObject<{ x: z.ZodNumber; y: z.ZodNumber; }, z.core.$strip>; sourceLocation: z.ZodOptional; componentName: z.ZodOptional; }, z.core.$strip>>; fiberChain: z.ZodDefault; componentName: z.ZodOptional; }, z.core.$strip>; tagName: z.ZodOptional; componentName: z.ZodOptional; props: z.ZodOptional>; }, z.core.$strip>>>; siblingSelectors: z.ZodDefault>; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"plan">; planId: z.ZodString; label: z.ZodString; rect: z.ZodObject<{ x: z.ZodNumber; y: z.ZodNumber; left: z.ZodNumber; top: z.ZodNumber; right: z.ZodNumber; bottom: z.ZodNumber; width: z.ZodNumber; height: z.ZodNumber; }, z.core.$strip>; }, z.core.$strip>], "kind">; }, z.core.$strip>; outputSchema: z.ZodVoid; }; hoverElement: { inputSchema: z.ZodObject<{ rect: z.ZodNullable; }, z.core.$strip>>; }, z.core.$strip>; outputSchema: z.ZodVoid; }; selectedElementRectUpdate: { inputSchema: z.ZodObject<{ rect: z.ZodObject<{ x: z.ZodNumber; y: z.ZodNumber; left: z.ZodNumber; top: z.ZodNumber; right: z.ZodNumber; bottom: z.ZodNumber; width: z.ZodNumber; height: z.ZodNumber; }, z.core.$strip>; clickPosition: z.ZodObject<{ x: z.ZodNumber; y: z.ZodNumber; }, z.core.$strip>; }, z.core.$strip>; outputSchema: z.ZodVoid; }; selectedAreaRectUpdate: { inputSchema: z.ZodObject<{ rect: z.ZodObject<{ x: z.ZodNumber; y: z.ZodNumber; left: z.ZodNumber; top: z.ZodNumber; right: z.ZodNumber; bottom: z.ZodNumber; width: z.ZodNumber; height: z.ZodNumber; }, z.core.$strip>; }, z.core.$strip>; outputSchema: z.ZodVoid; }; dragRectUpdated: { inputSchema: z.ZodObject<{ dragRect: z.ZodNullable>; selectionRects: z.ZodArray; }, z.core.$strip>>; }, z.core.$strip>; outputSchema: z.ZodVoid; }; areaSelected: { inputSchema: z.ZodObject<{ rect: z.ZodObject<{ x: z.ZodNumber; y: z.ZodNumber; left: z.ZodNumber; top: z.ZodNumber; right: z.ZodNumber; bottom: z.ZodNumber; width: z.ZodNumber; height: z.ZodNumber; }, z.core.$strip>; items: z.ZodArray; selector: z.ZodString; section: z.ZodOptional>; tagName: z.ZodString; elementType: z.ZodString; textContent: z.ZodNullable; sectionLabel: z.ZodOptional; rect: z.ZodObject<{ x: z.ZodNumber; y: z.ZodNumber; left: z.ZodNumber; top: z.ZodNumber; right: z.ZodNumber; bottom: z.ZodNumber; width: z.ZodNumber; height: z.ZodNumber; }, z.core.$strip>; textMetrics: z.ZodNullable>; outerHTML: z.ZodString; image: z.ZodOptional; sources: z.ZodArray; }, z.core.$strip>>; }, z.core.$strip>>; video: z.ZodOptional>; definedStyles: z.ZodDefault>; pseudo: z.ZodNullable; }, z.core.$strip>>; className: z.ZodNullable; raw: z.ZodString; resolved: z.ZodString; }, z.core.$strip>>>; authoredStyles: z.ZodDefault>; inheritedStyles: z.ZodDefault>; clickPosition: z.ZodObject<{ x: z.ZodNumber; y: z.ZodNumber; }, z.core.$strip>; sourceLocation: z.ZodOptional; componentName: z.ZodOptional; }, z.core.$strip>>; fiberChain: z.ZodDefault; componentName: z.ZodOptional; }, z.core.$strip>; tagName: z.ZodOptional; componentName: z.ZodOptional; props: z.ZodOptional>; }, z.core.$strip>>>; siblingSelectors: z.ZodDefault>; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"plan">; planId: z.ZodString; label: z.ZodString; rect: z.ZodObject<{ x: z.ZodNumber; y: z.ZodNumber; left: z.ZodNumber; top: z.ZodNumber; right: z.ZodNumber; bottom: z.ZodNumber; width: z.ZodNumber; height: z.ZodNumber; }, z.core.$strip>; }, z.core.$strip>], "kind">>; }, z.core.$strip>; outputSchema: z.ZodVoid; }; textCommitted: { inputSchema: z.ZodObject<{ editId: z.ZodString; html: z.ZodString; json: z.ZodRecord; originalInnerHTML: z.ZodString; }, z.core.$strip>; outputSchema: z.ZodVoid; }; inlineEditFeedbackChanged: { inputSchema: z.ZodObject<{ feedback: z.ZodNullable; rect: z.ZodObject<{ x: z.ZodNumber; y: z.ZodNumber; left: z.ZodNumber; top: z.ZodNumber; right: z.ZodNumber; bottom: z.ZodNumber; width: z.ZodNumber; height: z.ZodNumber; }, z.core.$strip>; }, z.core.$strip>>; }, z.core.$strip>; outputSchema: z.ZodVoid; }; editorStateUpdate: { inputSchema: z.ZodObject<{ activeMarks: z.ZodObject<{ bold: z.ZodBoolean; italic: z.ZodBoolean; underline: z.ZodBoolean; strike: z.ZodBoolean; }, z.core.$strip>; isInlineEditing: z.ZodBoolean; isInlineEditPending: z.ZodBoolean; }, z.core.$strip>; outputSchema: z.ZodVoid; }; fastRefreshComplete: { inputSchema: z.ZodUndefined; outputSchema: z.ZodVoid; }; }; export declare const selectModeParentMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{ method: z.ZodLiteral<"expandToSection">; data: z.ZodObject<{ targetSelector: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ method: z.ZodLiteral<"setSectionPreview">; data: z.ZodObject<{ targetSelector: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ method: z.ZodLiteral<"setDisplayMode">; data: z.ZodObject<{ displayMode: z.ZodEnum<{ browse: "browse"; selection: "selection"; }>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ method: z.ZodLiteral<"setSelectionType">; data: z.ZodObject<{ selectionType: z.ZodEnum<{ drag: "drag"; area: "area"; element: "element"; none: "none"; }>; selectors: z.ZodOptional>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ method: z.ZodLiteral<"applyOptimisticUpdate">; data: z.ZodObject<{ editId: z.ZodString; payload: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"image">; image: z.ZodObject<{ src: z.ZodString; currentSrc: z.ZodString; srcSet: z.ZodString; sizes: z.ZodString; previewUrl: z.ZodNullable; sources: z.ZodArray; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"css">; fontSource: z.ZodOptional>; property: z.ZodString; value: z.ZodNullable; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"content">; innerHTML: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"attribute">; name: z.ZodString; value: z.ZodString; }, z.core.$strip>], "kind">; targetSelector: z.ZodString; targetMode: z.ZodEnum<{ primary: "primary"; group: "group"; }>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ method: z.ZodLiteral<"markCommitted">; data: z.ZodObject<{ editId: z.ZodString; sessionId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ method: z.ZodLiteral<"resolveSessionOverrides">; data: z.ZodObject<{ sessionId: z.ZodString; outcome: z.ZodEnum<{ failed: "failed"; persisted: "persisted"; }>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ method: z.ZodLiteral<"revertOverride">; data: z.ZodObject<{ editId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ method: z.ZodLiteral<"enterEditMode">; }, z.core.$strip>, z.ZodObject<{ method: z.ZodLiteral<"exitEditMode">; }, z.core.$strip>, z.ZodObject<{ method: z.ZodLiteral<"formatCommand">; data: z.ZodObject<{ command: z.ZodEnum<{ toggleBold: "toggleBold"; toggleItalic: "toggleItalic"; toggleUnderline: "toggleUnderline"; toggleStrike: "toggleStrike"; }>; }, z.core.$strip>; }, z.core.$strip>], "method">; export declare const selectModeIframeMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{ method: z.ZodLiteral<"iframeReady">; data: z.ZodObject<{ packageName: z.ZodString; version: z.ZodString; branch: z.ZodNullable; commit: z.ZodNullable; builtAt: z.ZodNullable; capabilities: z.ZodOptional>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ method: z.ZodLiteral<"elementSelected">; data: z.ZodObject<{ data: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"react-element">; selector: z.ZodString; section: z.ZodOptional>; tagName: z.ZodString; elementType: z.ZodString; textContent: z.ZodNullable; sectionLabel: z.ZodOptional; rect: z.ZodObject<{ x: z.ZodNumber; y: z.ZodNumber; left: z.ZodNumber; top: z.ZodNumber; right: z.ZodNumber; bottom: z.ZodNumber; width: z.ZodNumber; height: z.ZodNumber; }, z.core.$strip>; textMetrics: z.ZodNullable>; outerHTML: z.ZodString; image: z.ZodOptional; sources: z.ZodArray; }, z.core.$strip>>; }, z.core.$strip>>; video: z.ZodOptional>; definedStyles: z.ZodDefault>; pseudo: z.ZodNullable; }, z.core.$strip>>; className: z.ZodNullable; raw: z.ZodString; resolved: z.ZodString; }, z.core.$strip>>>; authoredStyles: z.ZodDefault>; inheritedStyles: z.ZodDefault>; clickPosition: z.ZodObject<{ x: z.ZodNumber; y: z.ZodNumber; }, z.core.$strip>; sourceLocation: z.ZodOptional; componentName: z.ZodOptional; }, z.core.$strip>>; fiberChain: z.ZodDefault; componentName: z.ZodOptional; }, z.core.$strip>; tagName: z.ZodOptional; componentName: z.ZodOptional; props: z.ZodOptional>; }, z.core.$strip>>>; siblingSelectors: z.ZodDefault>; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"plan">; planId: z.ZodString; label: z.ZodString; rect: z.ZodObject<{ x: z.ZodNumber; y: z.ZodNumber; left: z.ZodNumber; top: z.ZodNumber; right: z.ZodNumber; bottom: z.ZodNumber; width: z.ZodNumber; height: z.ZodNumber; }, z.core.$strip>; }, z.core.$strip>], "kind">; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ method: z.ZodLiteral<"hoverElement">; data: z.ZodObject<{ rect: z.ZodNullable; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ method: z.ZodLiteral<"selectedElementRectUpdate">; data: z.ZodObject<{ rect: z.ZodObject<{ x: z.ZodNumber; y: z.ZodNumber; left: z.ZodNumber; top: z.ZodNumber; right: z.ZodNumber; bottom: z.ZodNumber; width: z.ZodNumber; height: z.ZodNumber; }, z.core.$strip>; clickPosition: z.ZodObject<{ x: z.ZodNumber; y: z.ZodNumber; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ method: z.ZodLiteral<"selectedAreaRectUpdate">; data: z.ZodObject<{ rect: z.ZodObject<{ x: z.ZodNumber; y: z.ZodNumber; left: z.ZodNumber; top: z.ZodNumber; right: z.ZodNumber; bottom: z.ZodNumber; width: z.ZodNumber; height: z.ZodNumber; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ method: z.ZodLiteral<"dragRectUpdated">; data: z.ZodObject<{ dragRect: z.ZodNullable>; selectionRects: z.ZodArray; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ method: z.ZodLiteral<"areaSelected">; data: z.ZodObject<{ rect: z.ZodObject<{ x: z.ZodNumber; y: z.ZodNumber; left: z.ZodNumber; top: z.ZodNumber; right: z.ZodNumber; bottom: z.ZodNumber; width: z.ZodNumber; height: z.ZodNumber; }, z.core.$strip>; items: z.ZodArray; selector: z.ZodString; section: z.ZodOptional>; tagName: z.ZodString; elementType: z.ZodString; textContent: z.ZodNullable; sectionLabel: z.ZodOptional; rect: z.ZodObject<{ x: z.ZodNumber; y: z.ZodNumber; left: z.ZodNumber; top: z.ZodNumber; right: z.ZodNumber; bottom: z.ZodNumber; width: z.ZodNumber; height: z.ZodNumber; }, z.core.$strip>; textMetrics: z.ZodNullable>; outerHTML: z.ZodString; image: z.ZodOptional; sources: z.ZodArray; }, z.core.$strip>>; }, z.core.$strip>>; video: z.ZodOptional>; definedStyles: z.ZodDefault>; pseudo: z.ZodNullable; }, z.core.$strip>>; className: z.ZodNullable; raw: z.ZodString; resolved: z.ZodString; }, z.core.$strip>>>; authoredStyles: z.ZodDefault>; inheritedStyles: z.ZodDefault>; clickPosition: z.ZodObject<{ x: z.ZodNumber; y: z.ZodNumber; }, z.core.$strip>; sourceLocation: z.ZodOptional; componentName: z.ZodOptional; }, z.core.$strip>>; fiberChain: z.ZodDefault; componentName: z.ZodOptional; }, z.core.$strip>; tagName: z.ZodOptional; componentName: z.ZodOptional; props: z.ZodOptional>; }, z.core.$strip>>>; siblingSelectors: z.ZodDefault>; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"plan">; planId: z.ZodString; label: z.ZodString; rect: z.ZodObject<{ x: z.ZodNumber; y: z.ZodNumber; left: z.ZodNumber; top: z.ZodNumber; right: z.ZodNumber; bottom: z.ZodNumber; width: z.ZodNumber; height: z.ZodNumber; }, z.core.$strip>; }, z.core.$strip>], "kind">>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ method: z.ZodLiteral<"textCommitted">; data: z.ZodObject<{ editId: z.ZodString; html: z.ZodString; json: z.ZodRecord; originalInnerHTML: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ method: z.ZodLiteral<"inlineEditFeedbackChanged">; data: z.ZodObject<{ feedback: z.ZodNullable; rect: z.ZodObject<{ x: z.ZodNumber; y: z.ZodNumber; left: z.ZodNumber; top: z.ZodNumber; right: z.ZodNumber; bottom: z.ZodNumber; width: z.ZodNumber; height: z.ZodNumber; }, z.core.$strip>; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ method: z.ZodLiteral<"editorStateUpdate">; data: z.ZodObject<{ activeMarks: z.ZodObject<{ bold: z.ZodBoolean; italic: z.ZodBoolean; underline: z.ZodBoolean; strike: z.ZodBoolean; }, z.core.$strip>; isInlineEditing: z.ZodBoolean; isInlineEditPending: z.ZodBoolean; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ method: z.ZodLiteral<"fastRefreshComplete">; }, z.core.$strip>], "method">; export type SelectModeParentMessageInputOf = Extract extends { data: infer DataType; } ? DataType : void; export type SelectModeIframeMessageInputOf = Extract extends { data: infer DataType; } ? DataType : void;