import type { WorkflowTemplate } from "./types.js";
export interface WorkflowTemplatePreviewProps {
    readonly template: WorkflowTemplate | null;
    readonly open: boolean;
    readonly onClose: () => void;
    readonly onSelect: (template: WorkflowTemplate) => void;
}
/**
 * Preview dialog for a workflow template.
 *
 * Shows the template's metadata, pattern badges, and a read-only
 * graph preview rendered via the YAML → graph pipeline. Uses a
 * native `<dialog>` element for modal semantics.
 *
 * The graph preview is lazy — it only parses and lays out the YAML
 * when the dialog opens, not while browsing cards.
 */
export declare function WorkflowTemplatePreview({ template, open, onClose, onSelect, }: WorkflowTemplatePreviewProps): import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=WorkflowTemplatePreview.d.ts.map