import ts from "typescript"; export declare enum EntityType { Component = "component", Override = "override", Action = "action", Device = "device", DeviceSkin = "deviceSkin" } export declare function toSourceCode(node: ts.Node, source?: ts.SourceFile): string; export declare function printAllChildren(node: ts.Node, depth?: number): void; export declare function referencesIdentifier(node: ts.Node, name: string): boolean; export declare function instrumentVisitor(node: ts.Node, componentNodes: ts.Node[], ctx: ts.TransformationContext): ts.Node; interface ExportedEntity { name: string; children?: boolean; type: EntityType; annotations?: Record; } export declare function buildInfoExport(entities: ExportedEntity[]): ts.Statement; export declare function analyzeAndExportComponents(ctx: ts.TransformationContext): ts.Transformer; export {};