type MCPResponse = { schema: "v3"; root: V3Node; definitions?: Record; }; type V3Node = { id?: string; type: string; name?: string; component?: string; layout?: Layout; style?: Style; text?: string; interactions?: Interaction[]; children?: V3Node[]; }; type Layout = { direction?: "row" | "column"; align?: string; justify?: string; gap?: number; padding?: number | [number, number] | { top: number; right: number; bottom: number; left: number; }; overflow?: "hidden"; wrap?: boolean; width?: number; height?: number; minWidth?: number; maxWidth?: number; minHeight?: number; maxHeight?: number; sizingH?: "fill" | "hug"; sizingV?: "fill" | "hug"; grow?: boolean; }; type Style = { background?: string | Paint[]; border?: string; borderWidth?: number; radius?: number | number[]; shadow?: string; blur?: string; opacity?: number; transform?: string; blend?: string; color?: string; font?: string; fontSize?: number; fontWeight?: number; fontStyle?: string; lineHeight?: number | string; letterSpacing?: number; textAlign?: string; textDecoration?: string; textTransform?: string; }; type Paint = { type: string; gradientStops?: GradientStop[]; imageRef?: string; scaleMode?: string; opacity?: number; }; type GradientStop = { position: number; color: string; }; type Interaction = { trigger: string; action: string; destination?: string; }; type ComponentDefinition = { name: string; description?: string; variantName?: string; componentSetName?: string; layout?: Layout; style?: Style; children?: V3Node[]; variants?: Record; }; type ComponentVariant = { name: string; description?: string; variantName?: string; layout?: Layout; style?: Style; children?: V3Node[]; }; type RichComponentMeta = { key: string; file_key: string; node_id: string; componentSetId?: string; name: string; description?: string; }; type MCPOptions = { fileKey: string; token: string; rootNodeId: string; styleMap?: Record; cacheTTL?: number; resolveVariables?: boolean; componentMap?: Record; componentSetMap?: Record; }; declare function generateMCPResponse(opts: MCPOptions): Promise; declare function fetchStyles(fileKey: string, token: string): Promise>; declare function fetchComponents(fileKey: string, token: string): Promise>; export { type ComponentDefinition, type GradientStop, type Layout, type MCPOptions, type MCPResponse, type Paint, type Style, type V3Node, fetchComponents, fetchStyles, generateMCPResponse };