import { DialogProps } from '@mui/material';

export declare const createApiThunk: (api: (payload: any) => Promise<any>, payload: any) => Promise<any>;
export interface IAddConfig {
    api: (payload: any) => Promise<any>;
    component: any;
}
export interface IModalComponentProps {
    isOpen: boolean;
    setIsOpen: () => void;
    modalProps?: DialogProps;
    onSave: (data: string) => void;
    isLoading?: boolean;
}
export declare const dynamicSelectAdd: (addType: string) => IAddConfig | null;
