import type { ReactNode } from "react";
/** Broad file categories, chosen so one glyph serves many related extensions. */
export type FileIconCategory = "code" | "markup" | "style" | "data" | "markdown" | "image" | "generic";
/** Classify a file name into a {@link FileIconCategory} by its extension. */
export declare function fileIconCategory(fileName: string): FileIconCategory;
/**
 * A monochrome icon for a file, chosen by extension category. Tints from
 * `currentColor`; size via the surrounding font/box.
 */
export declare function FileTypeIcon({ fileName }: {
    readonly fileName: string;
}): ReactNode;
/** A folder icon; `open` swaps to the opened-folder silhouette. */
export declare function FolderTypeIcon({ open }: {
    readonly open?: boolean;
}): ReactNode;
//# sourceMappingURL=index.d.ts.map