export type PluginIconFormat = 'path' | 'data-url' | 'asset-url' | 'structured' | 'fallback'; export interface StructuredPluginIconStop { offset: string; color: string; opacity?: number; } export interface StructuredPluginIconBackground { fill: string; radius: number; } export interface StructuredPluginIconPath { d: string; fill?: string; stroke?: string; strokeWidth?: number; opacity?: number; } export interface StructuredPluginIcon { type: 'mint-icon'; viewBox: string; background?: StructuredPluginIconBackground; gradient?: { type: 'linear'; angle: number; stops: StructuredPluginIconStop[]; }; paths: StructuredPluginIconPath[]; } export interface DetectedPluginIcon { format: PluginIconFormat; value: string | StructuredPluginIcon; } export declare const PLUGIN_ICON_FALLBACK_PATH = "M14 7v4a1 1 0 0 0 1 1h4M5 3h9l5 5v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z"; export declare function normalizePluginIconSource(icon?: string): string; export declare function detectPluginIcon(icon?: string): DetectedPluginIcon; export declare function isPluginIconFormat(icon?: string): boolean;