import React from 'react'; /** Payload of the iframe's `metafield-select` bridge message. */ export interface MetafieldSelection { ownerType: string; ownerUuid?: string; namespace: string; fieldKey: string; value?: unknown; declared?: { type: string; isList?: boolean; visibleToCustomer?: boolean; name?: string; description?: string; placeholder?: string; } | null; resolutionKind?: string; } /** * The guideline drawer (theme-metafields design § V1.1) — informational by * design. Metafield values are LIVE entity data (owner decision: the builder * is route-level, values are entity-level — a value editor here would write * to whatever sample entity the preview happens to show). The drawer * explains the field, reports definition status (create-if-missing + * immutable-conflict banner), and deep-links to the real editing surface. */ export default function MetafieldGuideDrawer({ selection, onClose, containerRef }: { selection: MetafieldSelection; onClose: () => void; containerRef: React.RefObject; }): React.JSX.Element;