/** * The service card — the one node the canvas renders for every service. Layered * and elevated (z-depth shadow + hover lift + selected ring), it reads * glanceably: a status accent bar, an icon tile, the service name, its type + * `/v1` capability, its source ref, and a footer with replicas, latest-deploy * relative time, and a metric sparkline preview. Pure presentation — it takes a * `ServiceNodeData` and callbacks; it never fetches. Usable inside the canvas * (via `canvas-node`) or standalone in a grid/list. */ import type { ReactNode } from "react"; import type { ServiceNodeData, ServiceStatus, StatusPalette } from "./types.js"; export interface ServiceNodeProps { data: ServiceNodeData; selected?: boolean; reducedMotion?: boolean; width?: number; statusPalette?: Partial>; /** Override the icon (e.g. pass a lucide icon); default is the built-in glyph. */ renderIcon?: (data: ServiceNodeData) => ReactNode; onOpen?: (data: ServiceNodeData) => void; /** `now` for deterministic relative-time rendering (tests/SSR). */ now?: number; } export declare function ServiceNode({ data, selected, reducedMotion, width, statusPalette, renderIcon, onOpen, now, }: ServiceNodeProps): import("react").JSX.Element;