import { ProxyHandler } from "./ProxyHandler"; /** * Checks value is Array */ export declare function isArray(value: any): boolean; /** * Checks value is Object */ export declare function isObject(value: any): boolean; /** * Checks value is primitive */ export declare function isPrimitive(value: any): boolean; /** * Checks object is proxy * @param object */ export declare function isProxy(object: any): boolean; /** * Sets proxy target * @param proxy * @param target */ export declare function setProxyTarget(proxy: object, target: object): void; /** * Gets proxy target * @param proxy */ export declare function getProxyTarget(proxy: object): any; /** * Sets proxy handler * @param proxy proxy * @param proxyHandler proxy handler */ export declare function setProxyHandler(proxy: object, proxyHandler: ProxyHandler): void; /** * Gets proxy handler * @param proxy proxy */ export declare function getProxyHandler>(proxy: object): T; /** * Gets element query selector */ export declare function getElementQuerySelector(): string; /** * Marks element as initialized * @param container container */ export declare function markInitialized(container: any): void; /** * Finds variable in current scope * @param context current context * @param name variable name */ export declare function findVariable(context: object, name: string): any; /** * Calls function * @param fn function * @param context context * @param args arguments */ export declare function callFunction(fn: Function, context: any, ...args: any[]): any; /** * Runs code * @param code * @param htmlElement * @param context */ export declare function runCode(code: string, htmlElement: HTMLElement, context: object): Promise; /** * Runs if code * @param htmlElement html element * @param context current context */ export declare function runIfCode(htmlElement: HTMLElement, context: object): Promise; /** * Runs execute code * @param htmlElement html element * @param context current context */ export declare function runExecuteCode(htmlElement: HTMLElement, context: object): Promise; /** * Checks if element has attribute * @param htmlElement html element * @param name attribute name */ export declare function hasElementAttribute(htmlElement: HTMLElement, name: string): boolean; /** * Gets element attribute * @param htmlElement html element * @param name attribute name */ export declare function getElementAttribute(htmlElement: HTMLElement, name: string): string; /** * Sets element attribute * @param htmlElement html element * @param name attribute name * @param value attribute value */ export declare function setElementAttribute(htmlElement: HTMLElement, name: string, value: string): void; /** * Prints debug message */ export declare function debug(...args: any[]): void; /** * Asserts condition * @param condition condition * @param message assertion message */ export declare function assert(condition: any, message?: string): void;