import { Program } from 'acorn'; import { ExtractedSharedCodeInfo, SharedCodeInfo } from './definitions'; import { ClientSideLogicRule, LogicRule, ServerSideLogicRule } from '../types/Form'; import { FormInternalState } from '../utils/internalState'; export declare function getAcornParsedNodes(input: string): Program | null; export declare function extractExportedCodeInfoArray(sharedCodeInfoArray: SharedCodeInfo[]): ExtractedSharedCodeInfo[]; export declare function replaceImportsWithDefinitions(code: string, extractedSharedCodeInfo: ExtractedSharedCodeInfo[]): string; export declare const handleRuleError: (errorMessage: string, logicRule: LogicRule) => void; export declare const runServerSideLogic: (logicRule: ServerSideLogicRule, client: any, isDraft: boolean) => Promise; export declare const runClientSideLogic: (logicRule: ClientSideLogicRule, client: any, extractedSharedCodeInfo: ExtractedSharedCodeInfo[], internalState: FormInternalState, connectorFields: any, props: Record) => Promise; //# sourceMappingURL=logic.d.ts.map