import { ComponentUIDL, UIDLStyleDefinitions, UIDLConditionalNode, UIDLElement, UIDLNode, UIDLStaticValue, UIDLAttributeValue, UIDLDynamicReference, UIDLRepeatContent, UIDLRepeatMeta, UIDLElementNode, UIDLDependency, UIDLStyleValue, UIDLStyleSheetContent, UIDLComponentStyleReference, UIDLRootComponent, UIDLResourceItem, GeneratorOptions } from '@teleporthq/teleport-types'; export declare const extractRoutes: (rootComponent: UIDLRootComponent) => UIDLConditionalNode[]; export declare const createWebComponentFriendlyName: (componentName: string) => string; export declare const setFriendlyOutputOptions: (uidl: ComponentUIDL) => void; export declare const getComponentFileName: (component: ComponentUIDL) => string; export declare const getStyleFileName: (component: ComponentUIDL) => string; export declare const getTemplateFileName: (component: ComponentUIDL) => string; export declare const getComponentFolderPath: (component: ComponentUIDL) => string[]; export declare const getComponentClassName: (component: ComponentUIDL) => string; export declare const getRepeatIteratorNameAndKey: (meta?: UIDLRepeatMeta) => { iteratorKey: string; iteratorName: string; }; export declare const prefixAssetsPath: (originalString: string | undefined, assets?: GeneratorOptions['assets']) => string; export declare const cloneObject: (node: T) => T; export declare const traverseNodes: (node: UIDLNode | UIDLComponentStyleReference, fn: (node: UIDLNode | UIDLComponentStyleReference, parentNode: UIDLNode) => void, parent?: UIDLNode | null) => void; export declare const traverseResources: (node: UIDLNode, fn: (node: UIDLResourceItem, parentNode: UIDLNode) => void) => void; export declare const traverseElements: (node: UIDLNode, fn: (element: UIDLElement) => void) => void; export declare const traverseRepeats: (node: UIDLNode, fn: (element: UIDLRepeatContent) => void) => void; interface SplitResponse { staticStyles: UIDLStyleDefinitions; dynamicStyles: UIDLStyleDefinitions; tokenStyles: UIDLStyleDefinitions; } export declare const splitDynamicAndStaticStyles: (style: UIDLStyleDefinitions | Record) => SplitResponse; export declare const cleanupDynamicStyles: (style: UIDLStyleDefinitions) => UIDLStyleDefinitions; export declare const transformDynamicStyles: (style: UIDLStyleDefinitions, transform: (value: UIDLDynamicReference, key?: string) => any) => Record; /** * Transform properties like * $props.something * $local.something * $state.something * * Into their json alternative which is used in beta release/0.6 and * later. */ export declare const transformStringAssignmentToJson: (declaration: string | number) => UIDLStaticValue | UIDLStyleValue; export declare const transformStylesAssignmentsToJson: (styleObject: Record) => UIDLStyleDefinitions; export declare const generateIdWithRefPath: (contentId: string, refPath?: string[]) => string; export declare const transformAttributesAssignmentsToJson: (attributesObject: Record, isLocalComponent?: boolean) => Record; export declare const findFirstElementNode: (node: UIDLNode) => UIDLElementNode; export declare const removeChildNodes: (node: UIDLNode, criteria: (element: UIDLNode) => boolean) => void; export declare const extractExternalDependencies: (dependencies: Record) => Record; export {}; //# sourceMappingURL=uidl-utils.d.ts.map