import { NetworkProps } from '@m4l/core'; export type NetworkConfirmResponse = { message: string; }; export type ToastConfig = { title: string; description?: string; }; export interface UseNetworkActionConfirmProps { /** * Función para refrescar la lista */ fullRefresh: (obj: T) => void; /** * Función para obtener el endpoint */ getEndPoint: (obj: T) => NetworkProps; /** * Título del modal */ title: string | ((obj: T) => string); /** * Mensaje del modal */ message: string | ((obj: T) => string); /** * Configuración personalizada de la notificación de toast success, si retorna undefined o null no se muestra la notificación */ customToastConfig?: (obj: T, response: K) => ToastConfig | undefined | null; } //# sourceMappingURL=types.d.ts.map