import { NovuError } from '@novu/js'; type UseDeleteChannelConnectionProps = { onSuccess?: () => void; onError?: (error: NovuError) => void; }; type UseDeleteChannelConnectionResult = { isDeleting: boolean; error?: NovuError; remove: (identifier: string) => Promise<{ data?: undefined; error?: NovuError | undefined; }>; }; /** * Delete a channel connection by identifier. Works for both subscriber-owned and * shared (workspace-level) connections the current subscriber can access. */ declare const useDeleteChannelConnection: (props?: UseDeleteChannelConnectionProps) => UseDeleteChannelConnectionResult; export { useDeleteChannelConnection }; export type { UseDeleteChannelConnectionProps, UseDeleteChannelConnectionResult };