import * as React from 'react'; import { type QuickActionAccent } from './quick-action-chip'; /** A guide quick-action chip (e.g. "How to start"). */ export interface GuideQuickAction { /** Stable React key. */ id: string; /** Chip label. */ label: string; /** Prompt text seeded into the composer on click. Defaults to `label`. */ prompt?: string; /** Optional library-glyph name (resolved via the onboarding-icon registry). */ iconName?: string | null; /** Optional uploaded image URL (wins over `iconName`). */ iconUrl?: string | null; /** Optional props spread onto the resolved glyph. */ iconProps?: Record | null; /** Optional agent accent tint for the icon (fae→pink, mingo→cyan). */ accent?: QuickActionAccent; } export interface GuideWelcomeProps { /** Greeting heading. Defaults to "Guide Mode Chat". */ title?: React.ReactNode; /** Optional identity icon (agent mode) — replaces the built-in Mingo mark as * the empty-state glyph. `{ name | url | props }` resolved via . * Omitted/empty → the default Mingo mark renders. */ icon?: { name?: string | null; url?: string | null; props?: Record | null; } | null; /** Greeting sub-line. No built-in default — when omitted/empty the sub-line * is not rendered, so the empty state shows only the title. Set via the * admin `emptyStateGreeting` (or a host override). */ subtitle?: React.ReactNode; /** While the admin greeting is still being fetched, render a one-line * subtitle skeleton instead of flashing empty → text. Ignored once a * `subtitle` is present. */ subtitleLoading?: boolean; /** Quick-action chips — caller-provided; there are no built-in defaults, so * the chip row is omitted entirely unless the host supplies actions. ALL * chips render in a wrapping row (no "⋯" overflow collapse) so every action * is directly hoverable — hover/focus previews the action's full `prompt` in * the composer; click sends it. */ quickActions?: ReadonlyArray; /** Fired when a quick-action chip is activated (click). */ onQuickAction?: (action: GuideQuickAction) => void; /** Pointer/keyboard focus enters a quick-action chip — e.g. preview the * action's full `prompt` in the composer input. */ onQuickActionHover?: (action: GuideQuickAction) => void; /** Pointer/keyboard focus leaves the chip — e.g. restore the composer. */ onQuickActionHoverEnd?: () => void; /** Agent this empty state belongs to — forwarded to the quick-action * {@link QuickActionWall} so a built-in agent (`'fae'`/`'mingo'`) caps the * brick stack at 2 rows. Unset (host/guide mode) keeps the full `rows` cap. */ agentSlug?: string; /** Slash-command onboarding list — rendered inside the shared scroll region * below the greeting (so greeting + list scroll together, with edge fades). */ children?: React.ReactNode; className?: string; } /** * GuideWelcome — Figma node `7532:328214`. * * Guide-mode chat empty state: a centred greeting and the slash-command * onboarding list share one scroll region (with top/bottom fade affordances), * and a pinned quick-action chip row sits above the composer. The first few * quick actions render as chips; the remainder collapse under a "⋯" menu. * * Mirrors `MingoWelcome` (the default-mode empty state) — content is * configurable with OpenFrame defaults. */ export declare function GuideWelcome({ title, icon, subtitle, subtitleLoading, quickActions, onQuickAction, onQuickActionHover, onQuickActionHoverEnd, agentSlug, children, className, }: GuideWelcomeProps): React.JSX.Element; //# sourceMappingURL=guide-welcome.d.ts.map