UNPKG

igniteui-theming

Version:

A set of Sass variables, mixins, and functions for generating palettes, typography, and elevations used by Ignite UI components.

36 lines (35 loc) 963 B
import { DetectionSignal } from '../../knowledge/platforms/index.js'; import { DetectPlatformParams } from '../schemas.js'; /** * Result structure for platform detection (public API). */ export interface DetectPlatformResult { platform: string | null; confidence: "high" | "medium" | "low" | "none"; ambiguous?: boolean; alternatives?: Array<{ platform: string; confidence: number; signals: DetectionSignal[]; }>; detectedPackage?: string; licensed?: boolean; signals?: DetectionSignal[]; reason: string; platformInfo?: { name: string; packageName: string; themingModule: string; description: string; }; } /** * Handle the detect_platform tool invocation. */ export declare function handleDetectPlatform(params: DetectPlatformParams): Promise<{ content: { type: "text"; text: string; }[]; structuredData: DetectPlatformResult; }>;