/** * FileType - ported 1:1 from Veryfront Studio. The canonical file-type * identity primitive: one distinct hue per extension. This is the single * sanctioned place where Tailwind named-colour utilities live (the per-file- * type identity palette) - every other primitive uses `[var(--token)]`. Only * the `DEFAULT` style and `vf-type`/`vf-weight` classes are remapped to * veryfront's vocabulary. Private to the chat module. * * Exports the soft-fill `FileType` (lists/tables), the solid-fill * `FileTypeThumb` (chip thumbnails), and the `getFileTypeLabel` helper. * * @module react/components/ui/file-type */ import * as React from "react"; /** Human label for a file extension, falling back to the media type. */ export declare function getFileTypeLabel(ext: string, mediaType?: string): string; /** Props accepted by `` / ``. */ export interface FileTypeProps extends React.HTMLAttributes { extension: string; /** React 19: ref is a regular prop, forwarded to the root node. */ ref?: React.Ref; } /** Soft-fill badge - rounded square, tinted background, extension label. */ export declare function FileType({ extension, className, ref, ...props }: FileTypeProps): React.ReactElement; /** Solid-fill thumbnail - full-saturation square with white `.ext` text. */ export declare function FileTypeThumb({ extension, className, ref, ...props }: FileTypeProps): React.ReactElement; //# sourceMappingURL=file-type.d.ts.map