import type { MenuItemProps } from '@pega/cosmos-react-core'; import type { ExpressionRefInterface, ExpressionItemProps, HandleValue, AutoCompleteTriggerChar, CursorPosition } from '@pega/cosmos-react-build'; export default function useMockExpression({ inLineError, showExpressionBuilderErrorBanner, expShowErrors }: { inLineError?: string; showExpressionBuilderErrorBanner?: boolean; expShowErrors?: boolean; }): { showExpBuilderModal: boolean; setShowExpBuilderModal: import("react").Dispatch>; openExpBuilderModal: () => Promise; showSuggestions: boolean; suggestionList: (MenuItemProps & { key?: string; })[]; inputValue: string; expBuilderInputValue: string; expressionItems: ({ id: string; testId: string; primary: string; type: string; expression: string; details: { primary: { field: string; value: string; }[]; output: { field: string; value: string; }[]; input: { id: string; field: string; type: string; }[]; }; } | { id: string; testId: string; primary: string; type: string; expression: string; details: { primary: { field: string; value: string; }[]; output: { field: string; value: string; }[]; input?: undefined; }; })[]; expressionDetails: { [id: string]: import("@pega/cosmos-react-build/lib/components/ExpressionBuilder/ExpressionBuilder.types").ExpressionDetailsProps; }; isExpBuilderLoading: boolean; searchFilter: string; setSearchFilter: import("react").Dispatch>; filterRegex: RegExp; searchValue: string; setSearchValue: import("react").Dispatch>; errors: string; handle: import("react").RefObject; expressionRef: import("react").RefObject; loading: boolean; inLineErrors: { start: import("@pega/cosmos-react-build/lib/components/ExpressionBuilder/CodeEditor/CodeEditor.types").ErrorRange; end: import("@pega/cosmos-react-build/lib/components/ExpressionBuilder/CodeEditor/CodeEditor.types").ErrorRange; messages: string[]; }[] | undefined; expBuilderErrorBanner: Pick | undefined; expressionSubmitHandler: ({ close }: { close: () => void; }) => void; expressionCancelHandler: ({ close }: { close?: () => void; }) => void; onItemAdd: (id: ExpressionItemProps["id"], addExpression: (expression: string) => void) => void; onItemExpand: (id: string) => void; onItemCollapse: (id: string) => void; expressionChangeHandler: (expression: any) => void; fetchSuggestions: (autoCompleteTrigger: AutoCompleteTriggerChar, cursorPosition: CursorPosition) => Promise; suggestionItemsToRender: (MenuItemProps & { key?: string; })[]; inputKeydownHandler: (e: React.KeyboardEvent) => Promise; inputChangeHandler: (e: React.ChangeEvent) => void; expBuilderFilterChangeHandler: (value: string) => void; expBuilderSearchChangeHandler: (value: string) => void; suggestionItemClickHandler: (id: MenuItemProps["id"]) => void; resetExpression: () => void; }; //# sourceMappingURL=useMockExpression.d.ts.map