pub fn thread_delete<'info>( ctx: CpiContext<'_, '_, '_, 'info, ThreadDelete<'info>>, ) -> Result<()>