import React, { Component } from 'react'; import type { CustomFunction } from '../reducers/customFunctions'; interface CustomFunctionModalProps { customFunction: CustomFunction; deactivateModal: () => void; createFunction: (name: string, func: string) => void; setFunction: (id: string, name: string, func: string) => void; deleteFunction: (id: string) => void; } interface CustomFunctionModalState { name: string; func: string; nameError: string; funcError: any; } declare class CustomFunctionModal extends Component { nameRef: React.RefObject; funcRef: React.RefObject; state: { name: string; func: string; nameError: string; funcError: string; }; componentDidMount(): void; validateName: () => boolean; validateFunc: () => boolean; onSave: () => void; onDelete: () => void; render(): JSX.Element; } declare const _default: import("react-redux").ConnectedComponent & CustomFunctionModalProps, "ref" | "key" | "customFunction" | "deactivateModal">>; export default _default; //# sourceMappingURL=CustomFunctionModal.d.ts.map