import { MitosisComponent, MitosisState } from '../../types/mitosis-component';
import { BuilderContent, BuilderElement } from '@builder.io/sdk';
import { MitosisNode } from '../../types/mitosis-node';
export declare const getStyleStringFromBlock: (block: BuilderElement, options: BuilderToMitosisOptions) => string;
type InternalOptions = {
    skipMapper?: boolean;
};
export declare const symbolBlocksAsChildren = false;
type BuilderToMitosisOptions = {
    context?: {
        [key: string]: any;
    };
    includeBuilderExtras?: boolean;
    preserveTextBlocks?: boolean;
    includeSpecialBindings?: boolean;
    includeMeta?: boolean;
    /**
     * When `true`, invalid bindings will be escaped as strings with special comments.
     * This can then be used to have LLMs such as Claude attempt to repair the broken code.
     * Defaults to `false`.
     */
    escapeInvalidCode?: boolean;
    /**
     * When `true`, the `blocksSlots` field on Mitosis Nodes will be used to transform
     * deeply nested Builder elements found in component options. Note that not every
     * generator supports parsing `blocksSlots`.
     * Defaults to `false`.
     */
    enableBlocksSlots?: boolean;
};
export declare const builderElementToMitosisNode: (block: BuilderElement, options: BuilderToMitosisOptions, _internalOptions?: InternalOptions) => MitosisNode;
export declare const getMetaFromBlock: (block: BuilderElement, options: BuilderToMitosisOptions) => {};
/**
 * Take Builder custom jsCode and extract the contents of the useStore hook
 * and return it as a JS object along with the inputted code with the hook
 * code extracted
 */
export declare function extractStateHook(code: string): {
    code: string;
    state: MitosisState;
};
/**
 * Extracts Mitosis state from Builder state.
 * @param mitosisState Mitosis state to update
 * @param builderState Builder state to extract from
 * @returns
 */
export declare function extractMitosisStateFromBuilderState(mitosisState: MitosisState, builderState?: {
    [key: string]: any;
}): void;
export declare function convertExportDefaultToReturn(code: string): string;
export declare const createBuilderElement: (options?: Partial<BuilderElement>) => BuilderElement;
export declare const isBuilderElement: (el: unknown) => el is BuilderElement;
export declare const builderContentToMitosisComponent: (builderContent: BuilderContent, options?: BuilderToMitosisOptions) => MitosisComponent;
export {};
