import type * as React from "react"; // 컴포넌트 prop 계약 전량. 허용값(tone·size·align)과 접근성 의도가 여기에만 있다. // ─── components/actions/Button.d.ts ─── /** * Upstage Product button. One primary action per view (B-5). */ export interface ButtonProps extends Omit, "size"> { /** Visual variant. Prefer outline/ghost for secondary actions; secondary is a deprecated outline alias. */ variant?: "primary" | "secondary" | "destructive" | "outline" | "ghost" | "accent"; /** Control height: sm 32 / md 40 / lg 48 */ size?: "sm" | "md" | "lg"; disabled?: boolean; children?: React.ReactNode; style?: React.CSSProperties; } export declare function Button(props: ButtonProps): React.JSX.Element; // ─── components/actions/IconButton.d.ts ─── /** Square icon-only button (ghost/outline/primary). */ export interface IconButtonProps extends Omit, "size"> { size?: "sm" | "md" | "lg"; variant?: "ghost" | "outline" | "primary"; disabled?: boolean; /** Accessible label (aria-label + title) — 필수: 아이콘만 있는 버튼의 접근성 이름 */ label: string; children?: React.ReactNode; style?: React.CSSProperties; } export declare function IconButton(props: IconButtonProps): React.JSX.Element; // ─── components/data/BarChart.d.ts ─── /** Token-driven bar chart with a screen-reader data table. */ export interface BarDatum { label: string; value: number; color?: string } export interface BarChartProps { data?: BarDatum[]; orientation?: "vertical" | "horizontal"; /** 기본 "brand" — 브랜드 스케일 한 계열(--chart-brand-1…5). 계열이 다른 항목만 "categorical". */ palette?: "brand" | "categorical"; height?: number; max?: number; unit?: string; title?: string; valueFormat?: (value: number) => string; showValues?: boolean; style?: React.CSSProperties; } export declare function BarChart(props: BarChartProps): React.JSX.Element; // ─── components/data/ProgressBar.d.ts ─── /** Determinate progress / quota meter. */ export interface ProgressBarProps { value?: number; max?: number; label?: React.ReactNode; valueText?: string; /** "brand"는 75/90% 자동 경고를 끄고 브랜드 색을 유지한다. */ tone?: "success" | "warning" | "error" | "info" | "brand"; size?: "sm" | "md" | "lg"; style?: React.CSSProperties; } export declare function ProgressBar(props: ProgressBarProps): React.JSX.Element; // ─── components/data/Sparkline.d.ts ─── /** Compact trend line for inline metrics. */ export interface SparklineProps { data?: Array; width?: number; height?: number; tone?: "primary" | "success" | "warning" | "error" | "info"; showArea?: boolean; unit?: string; label?: string; style?: React.CSSProperties; } export declare function Sparkline(props: SparklineProps): React.JSX.Element | null; // ─── components/data/Stat.d.ts ─── /** KPI figure with optional delta badge and trailing visual. */ export interface StatProps { label?: React.ReactNode; value?: React.ReactNode; unit?: React.ReactNode; delta?: number; /** 기본은 부호에 따라 success/error. "brand"는 브랜드 accent로 중립 표현한다. */ deltaTone?: "success" | "error" | "warning" | "gray" | "brand"; caption?: React.ReactNode; trailing?: React.ReactNode; align?: "left" | "center"; style?: React.CSSProperties; } export declare function Stat(props: StatProps): React.JSX.Element; // ─── components/display/Badge.d.ts ─── /** Badge / status pill using categorical accent or state token sets. */ export interface BadgeProps { /** Categorical: coral, skyblue, olive, purple, mint, magenta, teal, burgundy, green, gray, yellow — or state: success, warning, info, error */ tone?: string; /** soft (tinted bg, default) or solid (neutral-900 badge tokens) */ variant?: "soft" | "solid"; children?: React.ReactNode; style?: React.CSSProperties; /** aria-* / data-* pass-through (색만으로 뜻을 전달하지 않도록 aria-label을 붙일 수 있다) */ [key: string]: any; } export declare function Badge(props: BadgeProps): React.JSX.Element; // ─── components/display/Banner.d.ts ─── /** Inline state banner. */ export interface BannerProps { tone?: "success" | "warning" | "info" | "error"; title?: React.ReactNode; children?: React.ReactNode; /** 기본값: error는 "alert", 나머지는 "status". 정적 안내면 role="note"로 낮춘다. */ role?: string; style?: React.CSSProperties; } export declare function Banner(props: BannerProps): React.JSX.Element; // ─── components/display/Card.d.ts ─── /** Product card, 8px radius. Featured = purple 1.5px border; max ONE per grid (B-3). */ export interface CardProps { featured?: boolean; padding?: number | string; children?: React.ReactNode; style?: React.CSSProperties; /** aria-* / data-* pass-through. */ [key: string]: any; } export declare function Card(props: CardProps): React.JSX.Element; // ─── components/display/Table.d.ts ─── /** Product data table with header + row-hover tokens. */ export interface TableProps { columns?: Array<{ key: string; label: string; width?: number | string; align?: "left" | "center" | "right" }>; rows?: Array>; /** 스크린리더용 표 설명. 시각적으로는 숨는다. */ caption?: string; /** 이 컬럼을 각 행의 행 헤더(th scope="row")로 렌더한다. */ rowHeaderKey?: string; style?: React.CSSProperties; } export declare function Table(props: TableProps): React.JSX.Element; // ─── components/display/Tabs.d.ts ─── /** Product tabs (WAI-ARIA tabs pattern with roving tabindex). */ export interface TabItem { value: string; label?: React.ReactNode; disabled?: boolean; /** 이 탭의 id — 패널의 aria-labelledby가 가리킨다. */ tabId?: string; /** 이 탭이 제어하는 패널의 id (aria-controls). */ panelId?: string; } export interface TabsProps { tabs?: Array; value?: string; defaultValue?: string; onChange?: (value: string) => void; /** tablist의 접근성 이름. */ ariaLabel?: string; orientation?: "horizontal" | "vertical"; style?: React.CSSProperties; } export declare function Tabs(props: TabsProps): React.JSX.Element; // ─── components/display/Tooltip.d.ts ─── /** Hover tooltip using --tooltip tokens. */ export interface TooltipProps { content?: React.ReactNode; side?: "top" | "bottom" | "left" | "right"; children?: React.ReactNode; style?: React.CSSProperties; } export declare function Tooltip(props: TooltipProps): React.JSX.Element; // ─── components/forms/Checkbox.d.ts ─── /** Product checkbox. Space/Enter toggles; label supplies the accessible name. */ export interface CheckboxProps { checked?: boolean; defaultChecked?: boolean; onChange?: (checked: boolean) => void; disabled?: boolean; label?: React.ReactNode; /** 부분 선택 상태 — aria-checked="mixed"로 노출된다. */ indeterminate?: boolean; /** 보조 설명 요소의 id (aria-describedby). */ describedBy?: string; style?: React.CSSProperties; } export declare function Checkbox(props: CheckboxProps): React.JSX.Element; // ─── components/forms/Input.d.ts ─── /** Product text input with brand focus ring. */ export interface InputProps extends Omit, "size"> { size?: "sm" | "md" | "lg"; invalid?: boolean; disabled?: boolean; placeholder?: string; value?: string; onChange?: (e: any) => void; type?: string; style?: React.CSSProperties; } export declare function Input(props: InputProps): React.JSX.Element; // ─── components/forms/RadioGroup.d.ts ─── /** Accessible radio group (WAI-ARIA radio pattern, roving tabindex). */ export interface RadioOption { value: string; label?: React.ReactNode; description?: React.ReactNode; disabled?: boolean; } export interface RadioGroupProps { name?: string; options?: Array; value?: string; defaultValue?: string; onChange?: (value: string) => void; label?: React.ReactNode; description?: React.ReactNode; orientation?: "vertical" | "horizontal"; disabled?: boolean; style?: React.CSSProperties; } export declare function RadioGroup(props: RadioGroupProps): React.JSX.Element; // ─── components/forms/Select.d.ts ─── /** Product select (styled native select). */ export interface SelectProps extends Omit, "size"> { size?: "sm" | "md" | "lg"; disabled?: boolean; invalid?: boolean; options?: Array; value?: string; onChange?: (e: any) => void; placeholder?: string; style?: React.CSSProperties; } export declare function Select(props: SelectProps): React.JSX.Element; // ─── components/forms/Switch.d.ts ─── /** Product switch. Space/Enter toggles; takes effect immediately (no Save). */ export interface SwitchProps { checked?: boolean; defaultChecked?: boolean; onChange?: (checked: boolean) => void; disabled?: boolean; label?: React.ReactNode; /** 보조 설명 요소의 id (aria-describedby). */ describedBy?: string; style?: React.CSSProperties; } export declare function Switch(props: SwitchProps): React.JSX.Element; // ─── components/forms/Textarea.d.ts ─── /** Multi-line text input with auto-grow and optional counter. */ export interface TextareaProps extends Omit, "size"> { rows?: number; invalid?: boolean; disabled?: boolean; autoGrow?: boolean; maxLength?: number; showCount?: boolean; value?: string; defaultValue?: string; onChange?: (e: any) => void; placeholder?: string; style?: React.CSSProperties; } export declare function Textarea(props: TextareaProps): React.JSX.Element; // ─── components/navigation/Nav.d.ts ─── /** Top nav bar; product (light, --nav-*) or website (dark #151727) variant. */ export interface NavProps { variant?: "product" | "website"; logoSrc?: string; links?: Array; activeLink?: string; cta?: React.ReactNode; right?: React.ReactNode; /**