import { EditorRendererControllerType } from '../../types/editorRendererController';
import { EditorStateType } from '../../types';

export declare const REGEX_DATA_PLACEHOLDER: RegExp;
export declare const REGEX_FORMDATA_PLACEHOLDER: RegExp;
export declare const REGEX_TREEVIEW_PLACEHOLDER: RegExp;
export declare const REGEX_PROPS_PLACEHOLDER: RegExp;
export declare const REGEX_BUTTON_STATES_PLACEHOLDER: RegExp;
export declare const REGEX_MDIICON_PLACEHOLDER: RegExp;
export declare const REGEX_RESOLUTION_FAILED: RegExp;
export declare const REGEX_TEXT_HAS_BRACKETS: RegExp;
export declare const REGEX_PLACEHOLDERS: RegExp[];
export declare const checkForPlaceholders: (text: string) => boolean;
export declare const checkForParsableJson: (text: string) => RegExpMatchArray | null;
/**  replaces the placeholders AND EVALs the string if it contains any placeholders, static calculations are skipped!
    @returns the evaluated string -> can be any type !!!
*/
export declare const replacePlaceholdersInString: (text: string, appState: EditorRendererControllerType["appController"]["state"], componentPropertyDefinitions: EditorStateType["composite_component_props"], properties: EditorStateType["properties"], currentElement: EditorRendererControllerType["selectedElement"], rootCompositeElementId?: string, forceEval?: boolean, icons?: Record<string, string>, isTransformer?: boolean, formData?: Record<string, unknown>) => any;
