import { NovuError } from '@novu/js'; type UseDeleteChannelEndpointProps = { onSuccess?: () => void; onError?: (error: NovuError) => void; }; type UseDeleteChannelEndpointResult = { isDeleting: boolean; error?: NovuError; remove: (identifier: string) => Promise<{ data?: undefined; error?: NovuError | undefined; }>; }; declare const useDeleteChannelEndpoint: (props?: UseDeleteChannelEndpointProps) => UseDeleteChannelEndpointResult; export { useDeleteChannelEndpoint }; export type { UseDeleteChannelEndpointProps, UseDeleteChannelEndpointResult };