import React from 'react'; import type { StackableColorValue, EditTags } from '../../types'; /** Native Contentstack link field: `{ title, href }`. */ export interface ProcessStepLink { title?: string; href?: string; } export interface ProcessStepItem { /** * The oversized glyph. Free text straight from the CMS — `01`, `A`, `IV`, * `§` all render. Never parsed as a number and never used for ordering, so * editors are free to label steps however the content calls for. */ label?: string; /** * Named `step_title` rather than `title`: a group subfield with the uid * `title` collides with the content type's mandatory Title field on import. * Props map 1:1 onto field uids, so the prop carries the same name. */ step_title?: string; description?: string; /** * Clipped inside the glyph rather than shown as a picture. Asset URL or a * Contentstack asset object — both are accepted. */ image?: string | { url?: string; }; image_alt?: string; link?: ProcessStepLink; $?: EditTags; } export interface ProcessStepProps { heading?: string; subheading?: string; heading_alignment?: 'left' | 'center' | 'right' | string; steps?: ProcessStepItem[]; /** `Alternating` mirrors every second row, as in a zig-zag. */ layout?: 'Alternating' | 'Text Left' | 'Text Right' | string; /** Hairline rule between rows. */ show_dividers?: boolean; /** Short accent bar under each step title. */ show_accent_rule?: boolean; glyph_scale?: 'Small' | 'Medium' | 'Large' | string; background_color?: StackableColorValue; text_color?: StackableColorValue; /** Accent bar, and the glyph itself when a step has no image. */ accent_color?: StackableColorValue; className?: string; /** Contentstack Live Preview edit tags for this entry's own fields. See `EditTags`. */ $?: EditTags; } export declare function ProcessStep({ heading, subheading, heading_alignment, steps, layout, show_dividers, show_accent_rule, glyph_scale, background_color, text_color, accent_color, className, $, }: ProcessStepProps): React.JSX.Element; export default ProcessStep;