import { UIDLElement, UIDLNode, Mapping, GeneratorOptions, ComponentUIDL, UIDLStyleSetTokenReference, UIDLStaticValue, UIDLDynamicReference, UIDLConditionalNode, ElementsLookup, UIDLStyleSetDefinition } from '@teleporthq/teleport-types'; export declare const mergeMappings: (oldMapping: Mapping, newMapping?: Mapping, deepMerge?: boolean) => Mapping; export declare const resolveMetaTags: (uidl: ComponentUIDL, options: GeneratorOptions) => void; export declare const resolveNode: (uidlNode: UIDLNode, options: GeneratorOptions) => void; export declare const resolveConditional: (condNode: UIDLConditionalNode, options: GeneratorOptions) => void; export declare const EDITOR_ONLY_ATTRIBUTES: string[]; export declare const resolveElement: (element: UIDLElement, options: GeneratorOptions) => void; export declare const resolveChildren: (mappedChildren: UIDLNode[], originalChildren?: UIDLNode[]) => UIDLNode[]; export declare const generateUniqueKeys: (uidl: ComponentUIDL, lookup: ElementsLookup) => void; /** * A generated element class must never equal a class of the project style * sheet, which is global. A page named "Manifesto" names its root element * `manifesto-container`; another page had authored a `.manifesto-container` * two-column grid, and the whole Manifesto page became that grid. Reserving the * project's class names up front makes a colliding element take a numbered key * instead, through the same counter that already separates repeated names. */ export declare const reserveProjectStyleNames: (styleSetDefinitions: Record | undefined, lookup: ElementsLookup) => void; export declare const createNodesLookup: (uidl: ComponentUIDL, lookup: ElementsLookup) => void; export declare const ensureDataSourceUniqueness: (node: UIDLNode) => void; export declare function parseStaticStyles(styles: string): string[]; /** * Prefixes all urls inside the style object with the assetsPrefix * @param style the style object on the current node * @param assets comes from project generator options which contains the prefix, mappings and identifier */ export declare const prefixAssetURLs: (style: Record, assets: GeneratorOptions['assets']) => Record; export declare const checkForIllegalNames: (uidl: ComponentUIDL, mapping: Mapping) => void; export declare const checkForDefaultPropsContainingAssets: (uidl: ComponentUIDL, options: GeneratorOptions) => void; export declare const checkForDefaultStateValueContainingAssets: (uidl: ComponentUIDL, options: GeneratorOptions) => void; export declare const resolveNodeInPropDefinitions: (uidl: ComponentUIDL, options: GeneratorOptions) => void; //# sourceMappingURL=utils.d.ts.map