/**
* Types for MiddleTruncatePath.
*
* @module @mks2508/mks-ui/react/ui/MiddleTruncatePath
*/
import type { SlotOverrides } from '../../../core/types';
import type { MiddleTruncatePathSlot } from './MiddleTruncatePath.styles';
/**
* Props for MiddleTruncatePath.
*
* @see {@link MiddleTruncatePathSlot} for available slot names
*/
export interface IMiddleTruncatePathProps {
/** Full file path (e.g. `"src/components/shell/AppShell.tsx"`). */
path: string;
/** How many trailing segments to always show (parent + filename). Default 2. */
keepEnd?: number;
/** Optional CSS class merged onto the root (container). */
className?: string;
/**
* Optional CSS class for the start (truncatable) segment.
* @deprecated Prefer `slots.start` for new code.
*/
startClassName?: string;
/**
* Optional CSS class for the end (fixed) segment.
* @deprecated Prefer `slots.end` for new code.
*/
endClassName?: string;
/**
* Override default Tailwind classes per visual slot.
*
* @example
* ```tsx
*
* ```
*/
slots?: SlotOverrides;
}
//# sourceMappingURL=MiddleTruncatePath.types.d.ts.map