/** * TemplateDetailsPanel * * Right-sidebar panel shown when editing a template in the regular editor * (template mode — document path `_registry/templates/`). It replaces the * default "Page" root fields with a "Template" section exposing the template's * Label, Description and URL pattern. Edits **autosave** (debounced) to the * template's metadata via `onSave`; the layout itself is saved by the canvas. */ import React from 'react'; import type { TemplateSummary } from '../types.js'; export interface TemplateDetailsSave { label: string; description: string; defaultUrlPattern: string; } export interface TemplateDetailsPanelProps { /** The template being edited (provides current label/description/URL pattern). */ template: Pick; /** Persist the edited details (e.g. via templates.update). */ onSave: (details: TemplateDetailsSave) => Promise | void; } export declare function TemplateDetailsPanel({ template, onSave, }: TemplateDetailsPanelProps): React.JSX.Element;