import { type ComponentPropsWithoutRef, type ComponentType, type ElementType, type FC } from 'react'; import type { ElementRefProps } from '../../types'; import type { ComponentProps as IconProps } from '../Icon'; type ElementProps = Omit, keyof AppNaviAnchorProps & ElementRefProps>; export type AppNaviAnchorProps = { /** アンカーの href */ href?: string; /** 表示するアイコンタイプ */ icon?: ComponentType; /** アクティブ状態であるかどうか */ current?: boolean; /** next/link などのカスタムコンポーネントを指定します。指定がない場合はデフォルトで `a` タグが使用されます。 */ elementAs?: T; }; type AppNaviAnchorComponent = (props: AppNaviAnchorProps & ElementProps & ElementRefProps) => ReturnType; export declare const AppNaviAnchor: AppNaviAnchorComponent; export {};