import type { Component, NodeModel } from '@nordcraft/core/dist/component/component.types'; import type { Nullable } from '@nordcraft/core/dist/types'; /** * Function to strip styles and variants from a Component's nodes and convert them to static class names * * @param options - Options to control the behavior of the function * - clearStyle: For pages, the classes are baked in so styles are not needed. For custom-elements and editor-preview, the styles are needed to be able to generate the classes and class hashes. * When clearStyle is false, the style is kept, but static custom properties are moved from custom properties to the style object. Dynamic custom properties are kept in the customProperties object for both cases. */ export declare const resolveClasses: (options?: { clearStyle: boolean; }) => (component: Component) => { name: string; version?: Nullable<2>; page?: Nullable; route?: Nullable; attributes?: Nullable>>; variables?: Nullable>>; formulas?: Nullable>>; contexts?: Nullable>; workflows?: Nullable>>; apis?: Nullable>>; events?: Nullable[]>; onLoad?: Nullable; onAttributeChange?: Nullable; exported?: Nullable; customElement?: Nullable<{ enabled?: Nullable; }>; customCode?: Nullable; nodes: Record>; };