import * as React from "react"; import { IconDescriptor } from "../../../platform/services/window/types"; /** * Converts a Finsemble config entry to an Icon type that can be used to create components. * @param config A finsemble icon config entry as derived by the launcher (e.g. "icons.toolBar", "icons.taskbar" or "icons.titleBar") * @param title The title for the icon */ export declare const iconFromConfig: (config: any, title: string, appD: any) => IconDescriptor; type IconProps = IconDescriptor & { className?: string; }; /** * An icon to accompany Finsemble components or workspaces. * @param {string} [imageType] - "fonticon" | "url" | "initials" - Determines how the icon is generated. * @param {string} [path] - The path of the image. * @param {string} [name] - Used if imageType is "initials" to generate a text based icon. * @param {string} [category] - This will appear on the `data-category` attribute which can be used to drive CSS. * @param {string} [className] - Optional class to be appended. */ export declare const Icon: (props: Partial) => React.JSX.Element; export {}; //# sourceMappingURL=Icon.d.ts.map