import type { Anchor, Box, DocContext, Intent, IntentCard, OnAiRequest } from "../types"; export interface InlineEditPanelProps { /** The selected element's own-render PAGE px box; the panel anchors directly BELOW it. */ box: Box; /** rendered px / viewBox px for this page — page px × scale = client px (same contract as the overlays). */ scale: number; /** A short human label of the target element (the selection's chip label), shown in the header. */ targetLabel: string; /** The single structural anchor this inline edit targets — rides to `onAiRequest` as `[anchor]` so the * host builds the SAME doc-context/grid the chat would for this spot. */ anchor: Anchor; /** The host AI bridge (R6) — the SAME callback the chat uses. Returns the Intents to apply. */ onAiRequest: OnAiRequest; /** The read-only doc context (built for THIS anchor), passed verbatim to `onAiRequest`. */ docContext: DocContext; /** Apply the returned Intents as ONE undo batch; resolves to the preview cards for the applied summary. */ onApply: (intents: Intent[]) => Promise; /** Revert the applied batch (pops exactly this batch: `core.session.undo`). The panel closes after. */ onRevert: () => Promise; /** Close the panel KEEPING the applied change (적용 유지 / Esc / ✕). */ onClose: () => void; /** Label for the ⌘/Ctrl hint (defaults to a platform-detected label). */ modLabel?: string; } export declare function InlineEditPanel(props: InlineEditPanelProps): import("react").JSX.Element; //# sourceMappingURL=InlineEditPanel.d.ts.map