import React from 'react'; export interface PathsDisplayProps { /** * Array of file/folder paths to display */ paths: readonly string[] | string[]; /** * Callback when a path is copied */ onCopyPath?: (path: string) => void; /** * Optional title above the paths list */ title?: string; /** * Optional description text */ description?: string; /** * Additional CSS classes for the container */ className?: string; /** * Whether to show copy buttons (default: true) */ showCopyButtons?: boolean; /** * Size of the copy icon (default: 'w-6 h-6') */ copyIconSize?: string; /** * Optional icon rendered at the start of every row, before the path text. * Useful for showing a platform logo next to a command (e.g. the Windows * logo beside "Run PowerShell as Local Administrator"). */ leadingIcon?: React.ReactNode; } /** * PathsDisplay - Unified component for displaying file/folder paths with copy functionality * * Features: * - Displays a list of paths in a styled container * - Optional copy-to-clipboard functionality * - Monospace font for paths * - Consistent ODS styling * * Usage Example: * ```tsx * import { PathsDisplay } from '@flamingo/ui-kit/components/features' * * const windowsPaths = [ * 'C:\\Program Files\\OpenFrame\\', * 'C:\\ProgramData\\OpenFrame\\' * ] * * { * navigator.clipboard.writeText(path) * toast({ title: 'Copied', description: 'Path copied to clipboard' }) * }} * /> * ``` */ export declare function PathsDisplay({ paths, onCopyPath, title, description, className, showCopyButtons, copyIconSize, leadingIcon }: PathsDisplayProps): React.JSX.Element | null; /** * Pre-defined path sets for common use cases */ export declare const OPENFRAME_PATHS: { readonly windows: readonly ["C:\\Program Files\\OpenFrame", "C:\\ProgramData\\OpenFrame", "C:\\ProgramData\\OpenFrameInstall", "C:\\Program Files\\Orbit"]; readonly darwin: readonly ["/Library/LaunchDaemons/com.openframe.client.plist", "/Library/Application Support/OpenFrame/meshcentral-agent/"]; readonly linux: readonly ["/opt/openframe/"]; }; export type OpenFramePathsPlatform = keyof typeof OPENFRAME_PATHS; /** * Get OpenFrame paths for a specific platform */ export declare function getOpenFramePaths(platform: OpenFramePathsPlatform): string[]; /** * Doctor command per platform. Run to diagnose installation issues and repair * the agent (works even if the agent didn't install correctly). */ export declare const OPENFRAME_DOCTOR_COMMANDS: Record; /** * Get the OpenFrame doctor command for a specific platform */ export declare function getOpenFrameDoctorCommand(platform: OpenFramePathsPlatform): string; //# sourceMappingURL=paths-display.d.ts.map