import { type ReactNode } from "react"; import { type CreatorRef } from "../../lib/creator-initials.js"; import type { RailAggregateStatus } from "../../lib/sessions-group.js"; import { type SessionAutomationWait } from "../../../session-list-model.js"; export declare function ActiveWorkMark({ className }: { className?: string | undefined; }): import("react").JSX.Element; /** * The row's announced name. * * `aria-label` replaces name-from-content, so this string is the whole of what * a screen reader hears for the row: the creator chip is `aria-hidden`, and * even the sr-only state line inside the link is inert for it. Every fact a * sighted user reads off the row belongs here, and in exactly one place. */ export declare function sessionRowAccessibleName({ title, stateLabel, pinned, statusLabel, spawnedLabel, creator, }: { title: string; stateLabel: string; pinned: boolean; statusLabel: string; spawnedLabel?: string | null | undefined; creator?: CreatorRef | null | undefined; }): string; /** * The quiet mark for a chat an automation will post into: a clock while it * waits for its schedule, a bolt while it waits for an event. `label` says * what exactly ("Waiting for deploy.finished from Deploys"); without it the * plain wait is named. */ export declare function AutomationWaitIcon({ wait, label: detail, className, }: { wait: SessionAutomationWait; label?: string | undefined; className?: string | undefined; }): import("react").JSX.Element; export declare function RailTrailingMetadata({ summary, automationWait, automationWaitLabel, relativeTime, jumpKey, creator, quickActionSlots, }: { summary: RailAggregateStatus; /** What an automation posting into this chat is waiting for; null for none. */ automationWait?: SessionAutomationWait | null | undefined; /** That wait in words, for the mark's tooltip and accessible name. */ automationWaitLabel?: string | undefined; relativeTime?: string | undefined; /** The key that opens this row ("⌘3"), shown in place of the time while ⌘ is held. */ jumpKey?: string | undefined; /** Rightmost items replaced in place by the row's desktop quick actions. */ quickActionSlots?: number | undefined; /** * Session creator for a top-level row, else null; callers decide which rows * are roots. A chip is its own reason to render this block: a mobile root row * can have no status marker and no time and still name who started it. */ creator?: CreatorRef | null | undefined; }): import("react").JSX.Element | null; export declare function SessionRowContent({ title, stateLabel, depthLabel, descendantLabel, mobile, summary, automationWait, automationWaitLabel, relativeTime, jumpKey, creator, quickActionSlots, leading, parentTitle, }: { /** Before the title: a bot's avatar. */ leading?: ReactNode | undefined; title: string; /** For a pinned sub-agent chat, the chat it belongs to, said quietly after the title. */ parentTitle?: string | null | undefined; stateLabel: string; depthLabel?: string | null | undefined; descendantLabel?: string | null | undefined; mobile: boolean; summary: RailAggregateStatus; /** What an automation posting into this chat is waiting for; null for none. */ automationWait?: SessionAutomationWait | null | undefined; /** See RailTrailingMetadata. */ automationWaitLabel?: string | undefined; relativeTime?: string | undefined; /** See RailTrailingMetadata. */ jumpKey?: string | undefined; quickActionSlots?: number | undefined; /** Session creator for a top-level row, else null. See RailTrailingMetadata. */ creator?: CreatorRef | null | undefined; }): import("react").JSX.Element;