import { type ComponentPropsWithoutRef, type ElementType, type FC, type ReactNode } from 'react'; export type SideNavSizeType = 'M' | 'S'; type AbstractProps = { /** アイテムの識別子 */ id: string; /** アイテムのタイトル * @deprecated SideNav で items を使う時の props です。children を使ってください。 */ title?: ReactNode; /** タイトルのプレフィックスの内容。通常、StatusLabelやIconの配置に用います。 */ prefix?: ReactNode; /** タイトルのサフィックスの内容。通常、Prefixを使用済みの場合にStatusLabelやChipの配置に用います。 */ suffix?: ReactNode; /** 選択されているアイテムかどうか */ current?: boolean; /** アイテムの大きさ */ size?: SideNavSizeType; /** アイテムを押下したときに発火するコールバック関数 */ onClick?: (e: React.MouseEvent) => void; }; type Props = AbstractProps & Omit, keyof AbstractProps>; export declare const SideNavItemButton: FC & { onClick?: (e: React.MouseEvent) => void; }>; export declare const SideNavItemAnchor: ({ id, title, prefix, suffix, current, size, onClick, children, className, href, elementAs, ...rest }: Omit & { onClick?: (e: React.MouseEvent) => void; href: string | undefined; /** next/link などのカスタムコンポーネントを指定します。指定がない場合はデフォルトで `a` タグが使用されます。 */ elementAs?: T; }) => import("react/jsx-runtime").JSX.Element; export {};