/** * MiddleTruncatePath — CSS-only middle truncation for file paths. * * @deprecated Use `` instead. * Path-specific wrapper kept for backward compatibility. Will be removed in v0.11. * * Splits a path into a truncatable start and a fixed end * (`parent/filename` by default). When space is limited, the start * truncates with ellipsis while the end (the most identifiable part) * always remains visible. * * Pure CSS flex — no JS measurement, no ResizeObserver. * * Ported from mks-mission-control. * * @module @mks2508/mks-ui/react/ui/MiddleTruncatePath */ import type { IMiddleTruncatePathProps } from './MiddleTruncatePath.types'; /** * Middle-truncates a file path, keeping the end segments visible. * * @deprecated Use `` instead. * This component is a thin path-specific wrapper and will be removed in v0.11. * * @param slots - Override Tailwind classes per visual slot * * @example * ```tsx * // Full width: src/components/shell/AppShell.tsx * // Constrained: src/comp…/shell/AppShell.tsx * // Minimum: …/shell/AppShell.tsx * * ``` */ export declare const MiddleTruncatePath: import("react").MemoExoticComponent<({ path, keepEnd, className, startClassName, endClassName, slots, }: IMiddleTruncatePathProps) => import("react/jsx-runtime").JSX.Element>; export { MiddleTruncatePathStyles, MiddleTruncatePathShortRootStyles, } from './MiddleTruncatePath.styles'; export type { MiddleTruncatePathSlot } from './MiddleTruncatePath.styles'; export type { IMiddleTruncatePathProps } from './MiddleTruncatePath.types'; //# sourceMappingURL=index.d.ts.map