import { ChannelEndpointResponse, NovuError, CreateChannelEndpointArgs } from '@novu/js'; type UseCreateChannelEndpointProps = { onSuccess?: (data: ChannelEndpointResponse) => void; onError?: (error: NovuError) => void; }; type UseCreateChannelEndpointResult = { isCreating: boolean; error?: NovuError; create: (args: CreateChannelEndpointArgs) => Promise<{ data?: ChannelEndpointResponse | undefined; error?: NovuError | undefined; }>; }; declare const useCreateChannelEndpoint: (props?: UseCreateChannelEndpointProps) => UseCreateChannelEndpointResult; export { useCreateChannelEndpoint }; export type { UseCreateChannelEndpointProps, UseCreateChannelEndpointResult };