import type { PDSIconType } from './icon'; import type { IconCaseTooltipPositionType } from './systemUI'; import type { PDSTextType } from './text'; import type { UiColors } from './uiColors'; import type { ForwardedRef } from 'react'; export type PDSValueOption = { text: PDSTextType; value: string | number | null | boolean; }; export type PDSTabItemOption = { title: PDSTextType; isActive: boolean; onClick?: (e: React.MouseEvent) => void; disabled?: boolean; tooltipText?: PDSTextType; }; export type ContextMenuItemValueOption = { text?: PDSTextType; value: string | number | null | boolean; iconName?: PDSIconType; iconFillType?: 'fill' | 'line'; fontWeight?: 'bold' | 'regular'; descText?: PDSTextType; }; export type DropdownValueOption = ContextMenuItemValueOption & { state?: 'normal' | 'disabled'; }; export type DropdownGroupInfo = { key: string; values: DropdownValueOption['value'][]; title?: PDSTextType; }; export type AdminListDropdownValueOption = { text: DropdownValueOption['text']; value: DropdownValueOption['value']; }; export type BasicButtonGroupValueOption = { iconName: PDSIconType; iconFillType?: 'fill' | 'line'; state?: 'normal' | 'disabled'; tooltipText?: PDSTextType; tooltipPosition?: IconCaseTooltipPositionType; iconColorTheme?: 'none' | 'red'; backgroundColorTheme?: UiColors; onClick?: (e: React.MouseEvent) => void; onMouseDown?: (e: React.MouseEvent) => void; }; export type SegmentedButtonGroupValueOption = Pick & { iconName: PDSIconType; iconFillType?: 'fill' | 'line'; state?: 'normal' | 'disabled'; iconColorTheme?: 'none' | 'red'; backgroundColorTheme?: UiColors; tooltipText?: PDSTextType; tooltipPosition?: IconCaseTooltipPositionType; }; export type ForwardedRefType = ForwardedRef; export interface IFormValues { [key: string]: string; } /** * 중첩된 객체 구조에서 점(.)으로 구분된 경로를 통해 에러 객체를 조회합니다 */ export declare const getErrorByName: (errors: { [x: string]: any; }, name: string) => any;