import * as _gradeui_contracts from '@gradeui/contracts'; import { ComponentContract } from '@gradeui/contracts'; import { z } from 'zod'; import * as React from 'react'; import * as AccordionPrimitive from '@radix-ui/react-accordion'; import * as class_variance_authority_types from 'class-variance-authority/types'; import { VariantProps } from 'class-variance-authority'; import * as AvatarPrimitive from '@radix-ui/react-avatar'; import { DayPicker, DayButton, DateRange } from 'react-day-picker'; import { UseEmblaCarouselType } from 'embla-carousel-react'; import * as CheckboxPrimitive from '@radix-ui/react-checkbox'; import * as LabelPrimitive from '@radix-ui/react-label'; import * as RadioGroupPrimitive from '@radix-ui/react-radio-group'; import * as SwitchPrimitives from '@radix-ui/react-switch'; import { Language } from 'prism-react-renderer'; import { D as DEMO_SPEED_PRESETS, a as DemoSpeed, b as DemoTrigger } from './types-DUwnWaxR.js'; import * as DialogPrimitive from '@radix-ui/react-dialog'; import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu'; import * as PopoverPrimitive from '@radix-ui/react-popover'; import * as ProgressPrimitive from '@radix-ui/react-progress'; import { Combobox as Combobox$1 } from '@base-ui/react'; import { SortingState, OnChangeFn, VisibilityState } from '@tanstack/react-table'; import * as ResizablePrimitive from 'react-resizable-panels'; import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area'; import * as SelectPrimitive from '@radix-ui/react-select'; import * as SeparatorPrimitive from '@radix-ui/react-separator'; import * as SliderPrimitive from '@radix-ui/react-slider'; import { UniqueIdentifier } from '@dnd-kit/core'; import * as TabsPrimitive from '@radix-ui/react-tabs'; import * as recharts_types_util_payload_getUniqPayload from 'recharts/types/util/payload/getUniqPayload'; import * as recharts_types_component_Tooltip from 'recharts/types/component/Tooltip'; import * as recharts_types_util_types from 'recharts/types/util/types'; import * as recharts_types_component_DefaultTooltipContent from 'recharts/types/component/DefaultTooltipContent'; import * as RechartsPrimitive from 'recharts'; import * as TogglePrimitive from '@radix-ui/react-toggle'; import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group'; import * as TooltipPrimitive from '@radix-ui/react-tooltip'; import { M as MapProps, a as MapHandle, b as MapMarkerProps } from './types-B45Uirkp.js'; export { C as Coords, c as MapAppearance, d as MapError, e as MapErrorCode } from './types-B45Uirkp.js'; import * as THREE from 'three'; import { ClassValue } from 'clsx'; /** * Component contract registry — auto-managed by * scripts/generate-contracts.mjs. Hand-authored contracts (MediaSurface, * etc.) are also wired in here; the generator preserves them on each * run. */ declare const COMPONENT_CONTRACTS: Readonly>; declare function getComponentContract(componentName: string | null | undefined): ComponentContract | null; declare function listContractedComponents(): string[]; declare const MediaSurfaceContract: _gradeui_contracts.ComponentContract<{ hint: { schema: z.ZodOptional>; design: "knob"; group: string; control: "glyph-picker"; label: string; description: string; default: string; examples: string[]; }; aspect: { schema: z.ZodOptional>; design: "knob"; control: "toggle-group"; label: string; description: string; }; radius: { schema: z.ZodOptional>; design: "knob"; control: "toggle-group"; label: string; default: string; description: string; }; border: { schema: z.ZodOptional; design: "knob"; label: string; default: boolean; }; loading: { schema: z.ZodOptional; design: "knob"; label: string; default: boolean; description: string; }; emptyState: { schema: z.ZodOptional, z.ZodLiteral<"icon">, z.ZodLiteral<"none">]>>; design: "knob"; control: "select"; label: string; default: string; description: string; }; alt: { schema: z.ZodOptional; design: "content"; group: string; control: "text"; label: string; description: string; examples: string[]; }; src: { schema: z.ZodOptional; design: "content"; group: string; control: "url"; label: string; description: string; }; instanceId: { schema: z.ZodOptional; design: "content"; group: string; control: "text"; label: string; description: string; }; source: { schema: z.ZodOptional; artist: z.ZodString; title: z.ZodString; year: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { title: string; kind: "album"; artist: string; description?: string | undefined; year?: number | undefined; }, { title: string; kind: "album"; artist: string; description?: string | undefined; year?: number | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"tv-show">; title: z.ZodString; year: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { title: string; kind: "tv-show"; description?: string | undefined; year?: number | undefined; }, { title: string; kind: "tv-show"; description?: string | undefined; year?: number | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"movie">; title: z.ZodString; year: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { title: string; kind: "movie"; description?: string | undefined; year?: number | undefined; }, { title: string; kind: "movie"; description?: string | undefined; year?: number | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"game">; title: z.ZodString; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { title: string; kind: "game"; description?: string | undefined; }, { title: string; kind: "game"; description?: string | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"book">; title: z.ZodOptional; author: z.ZodOptional; isbn: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "book"; title?: string | undefined; description?: string | undefined; author?: string | undefined; isbn?: string | undefined; }, { kind: "book"; title?: string | undefined; description?: string | undefined; author?: string | undefined; isbn?: string | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"poster">; title: z.ZodString; year: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { title: string; kind: "poster"; description?: string | undefined; year?: number | undefined; }, { title: string; kind: "poster"; description?: string | undefined; year?: number | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"portrait">; name: z.ZodOptional; role: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "portrait"; name?: string | undefined; role?: string | undefined; }, { kind: "portrait"; name?: string | undefined; role?: string | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"landscape">; location: z.ZodOptional; mood: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "landscape"; location?: string | undefined; mood?: string | undefined; }, { kind: "landscape"; location?: string | undefined; mood?: string | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"product">; name: z.ZodOptional; brand: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "product"; name?: string | undefined; brand?: string | undefined; }, { kind: "product"; name?: string | undefined; brand?: string | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"food">; dish: z.ZodOptional; cuisine: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "food"; dish?: string | undefined; cuisine?: string | undefined; }, { kind: "food"; dish?: string | undefined; cuisine?: string | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"generic">; prompt: z.ZodString; }, "strip", z.ZodTypeAny, { prompt: string; kind: "generic"; }, { prompt: string; kind: "generic"; }>, z.ZodUnion<[z.ZodObject<{ kind: z.ZodLiteral<"video">; }, "strip", z.ZodTypeAny, { kind: "video"; }, { kind: "video"; }>, z.ZodObject<{ kind: z.ZodLiteral<"audio">; }, "strip", z.ZodTypeAny, { kind: "audio"; }, { kind: "audio"; }>, z.ZodObject<{ kind: z.ZodLiteral<"embed">; }, "strip", z.ZodTypeAny, { kind: "embed"; }, { kind: "embed"; }>, z.ZodObject<{ kind: z.ZodLiteral<"3d">; }, "strip", z.ZodTypeAny, { kind: "3d"; }, { kind: "3d"; }>]>]>>; design: "structured"; label: string; description: string; perKindFields: { album: { artist: string; title: string; year: string; }; poster: { title: string; year: string; }; portrait: { name: string; role: string; }; landscape: { location: string; mood: string; }; product: { name: string; brand: string; }; food: { dish: string; cuisine: string; }; generic: { prompt: string; }; video: {}; audio: {}; embed: {}; "3d": {}; }; }; className: { schema: z.ZodOptional; design: "plumbing"; }; style: { schema: z.ZodOptional>; design: "plumbing"; }; children: { schema: z.ZodOptional; design: "plumbing"; description: string; }; overlay: { schema: z.ZodOptional; design: "plumbing"; description: string; }; glyph: { schema: z.ZodOptional; design: "plumbing"; description: string; }; fallback: { schema: z.ZodOptional; design: "plumbing"; description: string; }; onVisibilityChange: { schema: z.ZodOptional, z.ZodUnknown>>; design: "event"; description: string; }; }>; declare const Accordion: React.ForwardRefExoticComponent<(AccordionPrimitive.AccordionSingleProps | AccordionPrimitive.AccordionMultipleProps) & React.RefAttributes>; declare const AccordionItem: React.ForwardRefExoticComponent, "ref"> & React.RefAttributes>; declare const AccordionTrigger: React.ForwardRefExoticComponent, "ref"> & React.RefAttributes>; declare const AccordionContent: React.ForwardRefExoticComponent, "ref"> & React.RefAttributes>; /** * Callout — inline, ambient, non-blocking status/feedback surface. * * Renamed from `Alert` (May 2026). The old name collided with * Apple HIG `Alert` (a modal) and with `role="alert"` ARIA semantics, * both of which imply interruptive/assertive behaviour the component * does not have. "Callout" is honest about what it is: an inline * attention-grabber that sits in the layout flow. The `Alert` name is * deliberately left vacant in the barrel so a future genuinely- * interruptive primitive can claim it without further renames — until * then, reach for `` for modal alerts. * * Variants intentionally preserved as-is in this pass (`default | * destructive | success | warning | info`) — splitting `variant` onto * orthogonal `intent × emphasis` axes is a planned follow-up across * the whole library, not a one-component change. The `highlight` * variant (yellow) was dropped in this rename: in practice it * overlapped `warning` (amber) and added one more variant without a * unique semantic. Consumers needing "notable but not alarming" use * `variant="warning"` or `variant="info"` depending on temperature. */ declare const calloutVariants: (props?: ({ variant?: "default" | "destructive" | "success" | "warning" | "info" | null | undefined; } & class_variance_authority_types.ClassProp) | undefined) => string; declare const Callout: React.ForwardRefExoticComponent & VariantProps<(props?: ({ variant?: "default" | "destructive" | "success" | "warning" | "info" | null | undefined; } & class_variance_authority_types.ClassProp) | undefined) => string> & React.RefAttributes>; declare const CalloutTitle: React.ForwardRefExoticComponent & React.RefAttributes>; declare const CalloutDescription: React.ForwardRefExoticComponent & React.RefAttributes>; /** * AppShell — top-level page scaffold for an app-like or marketing layout. * * Provides five slots arranged via CSS-grid template areas: * * ┌─────────── Header (full bleed) ───────────┐ * │ Nav │ Aside │ Main │ * └─────────── Footer (full bleed) ───────────┘ * * Header and Footer always span the full width and sit at the very top / * very bottom of the shell — useful for marketing pages, brand bars, site * chrome. `nav` chooses how the body row is split: * * - `none` — Main only (a marketing page or a single-column app) * - `top` — Main below an in-app top-nav row (TopMenu) * - `side` — Nav rail + Main (classic app layout) * - `three-pane` — Nav rail + fixed Aside + flex Main (Slack/Mail/Notion * shape; aside width via --gds-app-shell-aside, default 320px) * * Each slot is assigned a fixed `grid-area` (header/nav/aside/main/footer), * so the **JSX child order doesn't matter** — drop slots in any order and * the grid sorts them. * * It is deliberately *just* structure: no collapse state, no context, no * runtime JS. Nav content is whatever the caller drops in — a Sidebar, a * TopMenu, a hand-rolled `